Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What piece of code needed to add letter...


PetterK

Recommended Posts

As the snapshot I'm using is not directly compatible with the latest 'release' of the 'Big Images' contribution, I'm thinking: Would it be possible (with PHP) to modify the code in 'popup_image.php' to add a letter (ex. 'B') to the name of the image that is being called? :idea:

 

If this is possible it would be as simple as creating 2 different sized images ( 'image.gif' & 'imageB.gif' ), where 'imageB.gif' just needs to be uploaded to the same folder as 'image.gif'. PHP would take care of the rest.

 

A simple modification like this would not require any changes to the DB... :P

 

As I'm a total newbie in PHP, I hope that someone will take the time to punch in the required piece of code for adding letters.

 

And, if I'm wrong to assume that PHP have this ability, please let me know as well. :shock:

 

 

Petter - Arktisk Pudder

Petter - Arktisk Pudder

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...