My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Hi. I'm having a big problem loading images. I have read the read me file, and FAQ many times. I have gone through 29 pages of posts here. I have a website that will have thousands of images by the time its done. So I took particular note on how to name the images, and because of that I may be doing it wrong. My website is fourthquartersports.com... Under category, and sub category; Basketball>Youth Basketball Uniforms, I was able to add 3 or 4 products with 7-10 additional images, no problem. But then the problem starts as I try and add more products. The product image will show up on my product page when I hit preview, but it wont show up in image handler, as I try and add additional images. Then as I try and add more images I get this message. Error!
Unable to determine the page link!
Function used:
zen_href_link('', '', 'NONSSL')... So I have tried numerous times to rename the images to totally different first name without luck. I usually put 7 to 10 images on each product. I started off naming my image (on a particular product) 756_youth_basketball_jersey_columbia_blue_white_01.jpg..... I then name the additional images the same except at the end with an increase of 1 on each image. 02,03,04, ect. On the next product I start its name with the catalog number (924 for instance). I was hoping by starting the name with the catalog number I wouldn't run out of options. But even after running into problems and renaming the pictures, it wouldn't work. Heres a page that I cannot add images to, http://fourthquartersports.com/youth...short-924-p-69.. And heres one where all is well. http://fourthquartersports.com/youth...azzle-756-p-67.... I must need help in how to name them. But no matter how I name them now, it doesn't work. Please help. Thanks nate.... snoz4343##################
Was that all part of the error message? or was the zen_href_link something you determined for yourself?
Alas, there isn't enough *useful* information here to give much of a clue.
Although I don't think it'll be a problem, it is generally advised the file names NOT start with a number.....
The 1st thing I note here is that you have some sort of URL rewriter installed. These things almost always cause more problems than they solve. My suggestion here is to disable the writer to see if the problem goes away.
Please ignore these ideas/suggestions if DivaVocals states something to the contrary. Her words are far more authoritative than mine in regards to this module.
Cheers
Rod
Just looked at the view source for the page and here is your image source
You will notice that the image name is truncatedPHP Code:<img src="images/_MED924_basketball_youth_basketball_uniform_short_striped_dazzle_bla" alt="Basketball etc etc etc
Your name is tooooo long and won't fit in the database.
The image name is stored as varchar(64) and your image name is longer than that, so it gets chomped. The additional images won't show up as they are looking for a longer base name.
Gilby is right.. Your image names are FAR too long, and this is likely the cause of the issues you are having. The other thing I noticed is that you are uploading images to the large and medium folders which is something you don't really need to do with IH4 (please review the usage section in the readme).. You can simply upload your largest image and IH4 takes care to create the small and medium images. (based on your settings in the Images configuration menu) Re-name your images and use much shorter names.. Lose the "MED" and "LRG" designations in the image file names, shorten them, and then simply upload the largest image and let IH4 do the rest.
On another note, I doubt your re-writer is the culprit.. Those written to properly generate URL links by using "zen_href_link" (as IH4 surely does) will NOT cause issues with IH4 or any other add-on. Ultimate SEO and Ceon URI both are written to do this.. So I think you can safely eliminate those as the source of your issue with IH4..
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
thanks for all of the help. I don't know why its uploading to med, large. I just download the image from my dealer, and then upload it on zen cart. I did have to change my small image width to 50, so that I could get 10 images on a page without the images taking up the whole page. I will shorten the names and try it. Do you know why its uploading as medium, large, without me putting that in the name? Thanks
Normally you would only upload the default image and IH4 will create medium and large images for you.. I suspect that you are using the medium image and large image upload functions in the IH4 admin which you do not need to do UNLESS you want to use a DIFFERENT image for medium and large images (which IH has ALWAYS supported).. If you are using the medium or large image upload, then IH4 will name the image accordingly.. The default image upload is the most common use of IH4.. So you should use that if you only have ONE image that will be displayed for small, medium, or large images..
Please re-read the IH readme.. It really is covered in excruciating detail how to use this app and we tried to pay particular attention this go round to the image upload as we had discovered a BOATLOAD of features that were previously not well documented in IH's readme file and only ddocumented on the original authors site.. I incorporated Tim's usage guides into the current readme so it is CHOCK FULL of good information..
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.