Forums / All Other Contributions/Addons / Additional Image Titles [support]

Additional Image Titles [support]

Started by gjh42 on 23 Jan 2009, 4:35 AM · Views: 12,099

Results 41 to 60 of 68
9 Dec 2009, 6:44 AM
#41
perkiekat avatar

perkiekat

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!

28 Jan 2010, 10:03 PM
#42
techiescot avatar

techiescot

New Zenner

Join Date:
Nov 2009
Posts:
59
Plugin Contributions:
0

Re: Additional Image Titles [support]

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

18 Mar 2011, 8:34 PM
#44
aceproductsusa avatar

aceproductsusa

New Zenner

Join Date:
Feb 2011
Posts:
17
Plugin Contributions:
0

Re: Additional Image Titles [support]

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.

18 Mar 2011, 9:30 PM
#45
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Additional Image Titles [support]

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.

18 Mar 2011, 10:08 PM
#46
aceproductsusa avatar

aceproductsusa

New Zenner

Join Date:
Feb 2011
Posts:
17
Plugin Contributions:
0

Re: Additional Image Titles [support]

:oops: Doh! You are correct. :frusty: I must look harder next time!

17 May 2011, 5:18 PM
#47
cageman555 avatar

cageman555

New Zenner

Join Date:
Mar 2011
Posts:
19
Plugin Contributions:
0

Re: Additional Image Titles [support]

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

17 May 2011, 5:53 PM
#48
cageman555 avatar

cageman555

New Zenner

Join Date:
Mar 2011
Posts:
19
Plugin Contributions:
0

Re: Additional Image Titles [support]

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

17 May 2011, 8:10 PM
#49
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Additional Image Titles [support]

"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.

14 Jul 2011, 3:59 AM
#50
hara avatar

hara

Zen Follower

Join Date:
Sep 2008
Posts:
397
Plugin Contributions:
0

Re: Additional Image Titles [support]

Is this work with IH3? I don't see people mentioned it so allow me to ask this question.

14 Jul 2011, 4:28 AM
#51
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Additional Image Titles [support]

It probably wouldn't work automatically with IH3, but should be able to be applied by adding the title code to an IH3 file.

14 Jul 2011, 3:49 PM
#52
hara avatar

hara

Zen Follower

Join Date:
Sep 2008
Posts:
397
Plugin Contributions:
0

Re: Additional Image Titles [support]

I found my custom copy of additional_images.php containing:

  1. // eof Zen Lightbox 2008-12-11 aclarke
  2. $thumb_regular = zen_image($base_image, $products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);
  3. $large_link = zen_href_link(FILENAME_POPUP_IMAGE_ADDITIONAL, 'pID=' . $_GET['products_id'] . '&pic=' . $i . '&products_image_large_additional=' . $products_image_large);

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

15 Jul 2011, 1:45 AM
#53
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Additional Image Titles [support]

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.

15 Jul 2011, 3:14 PM
#54
hara avatar

hara

Zen Follower

Join Date:
Sep 2008
Posts:
397
Plugin Contributions:
0

Re: Additional Image Titles [support]

Your readme telling at about line 103.

If you already have a custom copy of additional_images.php, you can add this line around line 103 (may be different in your copy):
$link = add_img_title('A', $base_image) . $link . add_img_title('B', $base_image);//add text above and/or below image if defined

Let me find harder. Since I have many items containing additional images, If you have any suggestions would be appreciated.

15 Jul 2011, 3:59 PM
#55
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Additional Image Titles [support]

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.

15 Jul 2011, 10:20 PM
#56
hara avatar

hara

Zen Follower

Join Date:
Sep 2008
Posts:
397
Plugin Contributions:
0

Re: Additional Image Titles [support]

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.

16 Jul 2011, 4:10 PM
#57
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Additional Image Titles [support]

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...

17 Jul 2011, 6:29 PM
#58
hara avatar

hara

Zen Follower

Join Date:
Sep 2008
Posts:
397
Plugin Contributions:
0

Re: Additional Image Titles [support]

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).

17 Jul 2011, 6:58 PM
#59
hara avatar

hara

Zen Follower

Join Date:
Sep 2008
Posts:
397
Plugin Contributions:
0

Re: Additional Image Titles [support]

Hi gjh42,

I should post here When I use original image file name, it works perfectly for what I want. Thank you!