This is a bit out there, so i’m hoping somebody can suggest a method and assist with coding said method.
What i have is a remotely hosted csv feeding a wordpress site. (remotely hosted so editing csv is not an option)
The csv contains a list of images for each product each image URL sperated by “;” (without quotes)
So i have no problem exploding the images and pulling each in seperately. My problem lies in the following. Each Product has approximately 15 images with 3 different sizes of each. The url’s are represented like so :
[code]http://mydomain.com/gallery/myimage.jpg (430px x 322px)
http://mydomain.com/detail/myimage.jpg
http://mydomain.com/thumbnail/myimage.jpg [/code]
Long and short is that i only want to pull in the 430px x 322px which are all in http://mydomain.com/gallery/
is there anyway to either exclude the images based on dimension or based on the URL containing detail/thumbnail folders ?
I hope my question doesn’t sound too stupid and maybe somebody could advise me on various methods.
Thanks for any help.