View Single Post
  #1  
Old 03-14-2007, 05:13 AM
 
IconAdmin IconAdmin is offline
 

Member
  
Join Date: Aug 2005
Posts: 22
 

Cool get pics from product id

hi i have 9000 products with 9000 thumbnail pictures
the picture name is almost the same as my product id

E.G. prod Id =A-0020

the picture file is named a0020.jpg

i want to knock some code up in my templates to pick the picture path and name up
from the product id

I know how to string build in vb

i just need a bit of help getting rid of the "-" and lowering the case

in php....If this works then i can upload my 9000 picture files to the images dir
without editing every name individually........

hope this is clear enough ......Andy
__________________
X-cart gold version 4.1.6
Reply With Quote