Page 6 of 7 FirstFirst ... 4567 LastLast
Results 51 to 60 of 68
  1. #51
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

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

  2. #52
    Join Date
    Sep 2008
    Posts
    397
    Plugin Contributions
    0

    Default Re: Additional Image Titles [support]

    I found my custom copy of additional_images.php containing:

    102. // eof Zen Lightbox 2008-12-11 aclarke
    103. $thumb_regular = zen_image($base_image, $products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);
    104. $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

  3. #53
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

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

  4. #54
    Join Date
    Sep 2008
    Posts
    397
    Plugin Contributions
    0

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

  5. #55
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

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

  6. #56
    Join Date
    Sep 2008
    Posts
    397
    Plugin Contributions
    0

    Default Re: Additional Image Titles [support]

    Quote Originally Posted by gjh42 View Post
    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.

  7. #57
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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...
    Last edited by gjh42; 16 Jul 2011 at 05:13 PM. Reason: getting all those lowercase letters to upper is a job:)

  8. #58
    Join Date
    Sep 2008
    Posts
    397
    Plugin Contributions
    0

    Default Re: Additional Image Titles [support]

    Quote Originally Posted by gjh42 View Post
    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).

  9. #59
    Join Date
    Sep 2008
    Posts
    397
    Plugin Contributions
    0

    Default 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!

  10. #60
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Additional Image Titles [support]

    Great! That's good to know.

 

 
Page 6 of 7 FirstFirst ... 4567 LastLast

Similar Threads

  1. Image Titles Support Thread
    By gjh42 in forum All Other Contributions/Addons
    Replies: 155
    Last Post: 9 Sep 2014, 04:51 AM
  2. Additional Image Titles vs Swap_images_mouseover
    By moesoap in forum General Questions
    Replies: 1
    Last Post: 11 May 2012, 04:06 PM
  3. Additional Image Titles mod not working
    By azwli in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 15 Nov 2010, 04:20 AM
  4. Problem integrating additional image titles addon and commercial addon
    By strugglingnovice in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 15 Aug 2010, 03:07 PM
  5. Changing Titles on Sidebox additional pages
    By SaMortensen in forum Addon Sideboxes
    Replies: 4
    Last Post: 7 Feb 2009, 01:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg