Zen Follower
- Join Date:
- Aug 2009
- Location:
- Carmi, IL
- Posts:
- 354
- Plugin Contributions:
- 0
Additional Image Titles [support]
Thanks. I'll do that. Going there now.
Zen Cart user all the way for online stores!
Zen Follower
Thanks. I'll do that. Going there now.
Zen Cart user all the way for online stores!
New Zenner
Hi
Has anyone found out how to make this work mod with a lightbox gallery?
I have a main product with additional extra products. I would like to title each of the additional images as they appear in the gallery.
Any help would be gratefully received.
Gillian
Gillian Duff
Garden Furniture Scotland Ltd
The Home and Garden Company
Black Belt
Sorry, I haven't looked at lightboxes and couldn't tell you what would need to happen for compatibility.
New Zenner
Hi, first off, thanks for the add-on, I have it working as I think it is designed. I have a question about the larger image link being displayed along with the additional images. I noticed in your original thread, HERE, that at the palomapottery site in the first post has the additional image names also function as the link to the additional image.
My site currently displays the image name on top, the image, then the "larger image" link below. Ideally I would like to move the image name below the image (which I can do with your add-on) and have it function as the link to the image and not have the "larger image" link show up.
Do you know if this can be accomplished with your add-on, or is the site owner there using something else? Thanks for any help.
Black Belt
Not sure what you are seeing... the additional image titles at palomapottery are static, not links.
Perhaps you are thinking of the attribute color swatch names?
If you want the "larger image" text to disappear sitewide, you can redefine it to '' (two single quotes) and it will not show at all.
New Zenner
:oops: Doh! You are correct. :frusty: I must look harder next time!
New Zenner
Hi, i recently installed your mod and i get the links to appear on top but there not centered with my image there on the right of image.
Also i want the text to display below but when i change ADIMGA to ADIMGB it displays on top i know this is a css issue but i can not figure it out. Plz help
http://midamericasportz.com/index.php?main_page=product_info&cPath=2_18&products_id=149
New Zenner
UPDATE!
Ok i figure most of it out but i need the title and img to float left like they were doing before i installed the mod. I can only center the title text and img when i dont float them to the left. When i do float them to the left they are not centered if title text is on top of image title is the the left of image and if i make title text below image it is to the right of image when i use float left
Black Belt
"Centered" and "floated left" are incompatible descriptions. How exactly do you want the image and title to display? Do you want them centered with each other, or aligned on their left edges? Do you want the whole set to be on the extreme left of its zone in the row? You have space for more per row in your current setup, which would shorten the long page of images.
There is something odd about the link/image positioning - everything that should affect its location aside from floating fails to move it from dead center in the item space. You do have another mod (Additional Images Relocated) affecting the output, and I don't know what effects are due to that specific mod compared to simply moving the additional images code block in tpl_product_info_display.php.
Zen Follower
Is this work with IH3? I don't see people mentioned it so allow me to ask this question.
Black Belt
It probably wouldn't work automatically with IH3, but should be able to be applied by adding the title code to an IH3 file.
Zen Follower
I found my custom copy of additional_images.php containing:
So how can I correctly put the following code?
$link = add_img_title('A', $base_image) . $link . add_img_title('B', $base_image);//add text above and/or below image if defined
Black Belt
That's not the place where the image title code goes in the standard file - it is several lines below there. I don't know what the rest of your file looks like so can't advise without more information.
Zen Follower
Let me find harder. Since I have many items containing additional images, If you have any suggestions would be appreciated.
Black Belt
around line 103 (may be different in your copy)
It is line 103 in my copy of the file, but not in yours. Look at the surrounding lines in both versions of the file, and put it in the same relative location.
Zen Follower
gjh42:
It is line 103 in my copy of the file, but not in yours. Look at the surrounding lines in both versions of the file, and put it in the same relative location.
Found it. Thank you!
Another question, to define the file additional_image_titles_defines.php, Can I use images in folder of bmz_cache/ ? the image file name like (3d46e638e4d6909a8b9192cd3c7d6e3d.image.100x96.jpg), instead of images/xxxx.jpg (original file name).
Since I use IH3 to upload/handle additional images so images go to
bmz_cache folder with uncertain number file name.
Black Belt
That might require some recoding to refer to the bmz_cache folder location. The stock file automatically goes to the defined images folder, and if IH3 sets that and uses it, it might work automatically. Have you tried it yet? You would need to find out the cache filename and use the converted version of it, e.g. for
3d46e638e4d6909a8b9192cd3c7d6e3d.image.100x96.jpg
use
define ('ADDIMGA_3D46E638E4D6909A8B9192CD3C7D6E3D_IMAGE_100X96_JPG','Your Text');
which would be quite a pain...
Zen Follower
gjh42:
That might require some recoding to refer to the bmz_cache folder location. The stock file automatically goes to the defined images folder, and if IH3 sets that and uses it, it might work automatically. Have you tried it yet? You would need to find out the cache filename and use the converted version of it, e.g. for
3d46e638e4d6909a8b9192cd3c7d6e3d.image.100x96.jpg
use
define ('ADDIMGA_3D46E638E4D6909A8B9192CD3C7D6E3D_IMAGE_100X96_JPG','Your Text');
which would be quite a pain...
To get this image file name handled by IH3 is easier from mouse right click. I tested simply use this file is not working with your current mod (additional_image_titles_defines.php).
Zen Follower
Hi gjh42,
I should post here When I use original image file name, it works perfectly for what I want. Thank you!
Black Belt
Great! That's good to know.
Tell staff why this post should be reviewed.