Page 1 of 3

[RELEASED] Custom Product Image Titles

Posted: Sun Jan 23, 2011 4:55 pm
by bull5-i
By default, OpenCart puts product name as a title and alt message for every image connected with a product. But sometimes you may want to give different product images a bit more descriptive titles and alternative texts. Having a descriptive alt text is essential for improved accessibility and it helps to rank your web page better in search engines.

This is exactly what Custom Product Image Titles mod does. Custom title is shown as a tooltip on a product thumbnail and as a caption for the enlarged image.
Furthermore, you can custom sort the additional product images, which is not possible in default OpenCart installation.
And best of all, it has multilanguage support which gives you the opportunity to have localized image titles and alt messages.

You can get it from http://www.opencart.com/index.php?route ... on_id=1243

The version 1.0 of the mod is available for OpenCart versions from 1.4.7 to 1.4.8b,
version 2.1 is available for OpenCart 1.4.9.x and 1.5.x
and version 2.1.1 is available for OpenCart 1.5.1.1-1.5.1.3.

Also available as a vQmod for OpenCart 1.5.1.x-1.5.3.x with version 2.4.0.

Features:
  • custom product image titles
  • custom category image titles [added in v2.4]
  • custom image alt text [concealable starting from v2.2]
  • image sort order
  • multilanguage support [added in v2.0]
  • selectable tabbed or untabbed display of multilanguge edit fields [added in v2.2]
  • display image captions below images [added in v2.1] (in OC 1.5.x only main image caption is displayed)
  • option to take content from the admin language fields for secondary languages when left empty [added in v2.3]
  • custom main product image title and alt messages appear also on category and search pages [added in v2.4]
Some screenshots:
ADMIN
Additional images with sorting
admin_product_additional_images_tabbed.png

Admin panel, additional images (tabbed view) - admin_product_additional_images_tabbed.png (43.61 KiB) Viewed 16402 times

STORE
Main product image title as a tooltip
catalog_tooltip.png

Store front, image title as tooltip - catalog_tooltip.png (55.45 KiB) Viewed 18922 times

Main product image caption
catalog_caption.png

Store front, image caption - catalog_caption.png (153.67 KiB) Viewed 18922 times


- edit 23.05.2012 - released version 2.4.0 for OpenCart 1.5.1.x, 1.5.2.x (vQmod) - adds custom titles & alts to caegory images and displays custom product titles on category and search pages.
- edit 22.04.2012 - released version 2.3.1 for OpenCart 1.5.1.x (vQmod) - fixes database text field collation to utf8
- edit 15.03.2012 - released version 2.3.0 for OpenCart 1.5.1.x (vQmod) - fixes default values when adding a new language and option to use admin language values for other languages
- edit 04.02.2012 - released version 2.2.0 for OpenCart 1.5.1.x (vQmod) - added option to hide alternative text field and option to choose tabbed or untabbed display of multilanguage edit fields
- edit 17.11.2011 - released version 2.1.2 for OpenCart 1.5.1.x (vQmod) and 1.4.9.x (vQmod) - fixes compatibility with Custom Product Tab (vQmod) mod
- edit 30.09.2011 - added support for OpenCart version 1.5.1.3
- edit 16.09.2011 - fixed some error messages, added vQmod for OpenCart versions 1.5.1.1-1.5.1.2
- edit 24.07.2011 - added support for OpenCart versions 1.4.9.6 and 1.5.1.1
- edit 18.07.2011 - added support for OpenCart version 1.5.1
- edit 30.05.2011 - added support for OpenCart version 1.5.0
- edit 11.05.2011 - added support for OpenCart version 1.4.9.5
- edit 13.04.2011 - Version 2.1 (added support for image captions)
- edit 20.03.2011 - added support for OpenCart version 1.4.9.4

Re: [RELEASED] Custom Product Image Titles

Posted: Sun Feb 27, 2011 4:13 pm
by iLaila
I need help in modify the Msql , i donno how to do that
please .. thanks

Re: [RELEASED] Custom Product Image Titles

Posted: Sun Feb 27, 2011 7:35 pm
by openmycart.com
You just need to alter new column to product_image just after image, but anyway You should not make a question of request free help in paid mods page

Re: [RELEASED] Custom Product Image Titles

Posted: Tue Mar 22, 2011 9:16 am
by 900pixels
I bought this mod, and it is only really setup to work in a default theme.
If your theme has any sort of change to the way the additional images are presented it will not be easy to get this to work.

Perhaps bull5-1 can help with the basic additions that need to be made to the file:

catalog/view/theme/MYTHEME/template/product/product.tpl

This would make this mod much easier to implement on custom themes!

Edit: changed name of developer as I had it wrong

Re: [RELEASED] Custom Product Image Titles

Posted: Tue Mar 22, 2011 3:09 pm
by bull5-i
Due to the nature of a custom theme, I can only provide instructions what was changed in the default theme and this logic needs to be applied to the custom theme. These instructions are included in the manual_install_instructions.txt file.

Actually changes to the theme are minimal, only two lines were changed - one for the main image and one for the additional images in (catalog/view/theme/YOUR_THEME/template/product/product.tpl)

Re: [RELEASED] Custom Product Image Titles

Posted: Tue Apr 05, 2011 4:27 am
by combusus
Great module, worked right out of the box, is it possible for you to show us how to also display the image captions as shown in the attachment, Thanks - Comb

Re: [RELEASED] Custom Product Image Titles

Posted: Tue Apr 05, 2011 4:50 am
by bull5-i
It would be sufficient to modify just the catalog/view/theme/MYTHEME/template/product/product.tpl and echo the PHP variable $image_title in the right place (somewhere around line 159) and maybe add some CSS styling or just put it between <b></b> tags.

Great you like it.

Re: [RELEASED] Custom Product Image Titles

Posted: Tue Apr 05, 2011 5:36 am
by combusus
bull5-i wrote:It would be sufficient to modify just the catalog/view/theme/MYTHEME/template/product/product.tpl and echo the PHP variable $image_title in the right place (somewhere around line 159) and maybe add some CSS styling or just put it between <b></b> tags.

Great you like it.
Hi bull5-i, I did this however in the additional tabs images it just replicated the same image caption for different images. I'm not sure why as I just copy/pasted the same code from the popup even though it works on the popup i couldn't get it to work on the additional tab images, any clues? Thanks - Comb

Re: [RELEASED] Custom Product Image Titles

Posted: Tue Apr 05, 2011 6:12 am
by bull5-i
Sorry, my bad, the variable you should be looking at is $image['title']
Cheers

Re: [RELEASED] Custom Product Image Titles

Posted: Tue Apr 05, 2011 6:45 am
by combusus
That worked perfect, excellent module and support, hope to see your module on 1.5 ! - Comb

Re: [RELEASED] Custom Product Image Titles

Posted: Thu Apr 14, 2011 3:37 am
by bull5-i
Additional screenshots:

ADMIN
Module settings
admin_module_settings.png

Admin panel, module settings - admin_module_settings.png (22.17 KiB) Viewed 16174 times

Main product image
admin_product_data.png

Admin panel, main product image - admin_product_data.png (18.83 KiB) Viewed 18672 times

STORE
Product images with captions displayed
catalog_product_image_caption.png

Store front, product images with captions - catalog_product_image_caption.png (83.59 KiB) Viewed 18672 times


Re: [RELEASED] Custom Product Image Titles

Posted: Tue May 31, 2011 2:53 am
by bull5-i
Added support for OpenCart 1.5.0.

Re: [RELEASED] Custom Product Image Titles

Posted: Tue Jul 19, 2011 4:24 am
by bull5-i
OpenCart 1.5.1 is now supported

Re: [RELEASED] Custom Product Image Titles

Posted: Thu Jul 28, 2011 7:31 am
by daledude
I just bought this and it works great. But would you happen to know how I can get this working with JNeuhoff's free Import/Export tool for OpenCart(http://www.opencart.com/index.php?route ... sion_id=17), so that I can enter the data through a spreadsheet? I'm going to try it myself, even though I don't really know PHP, but if someone else has already done it I'd love a step-by-step.

Re: [RELEASED] Custom Product Image Titles

Posted: Fri Jul 29, 2011 5:44 am
by daledude
Humm, I tried, but can't seem to get the two to work together. I'm fairly positive all I need to do is edit the admin/model/tool/export.php and insert the necessary changes that correspond to the instructions in the Custom Product Image Titles' manual_install_instructions.txt, specifically the ones that deal with admin/model/catalog/product.php, as I'm assuming the ones related to the controller and language files aren't necessary... the export tool doesn't pay attention to them AFAIK. But I can't figure out how the logic works or where to insert things... gah. Nor do I know how the values would fit/how to format in the Excel column. ??? May not be possible... but getting it to work would enable us to backup the database, including the custom titles, as an Excel file which is more readable to us than a MYSQL file...

Re: [RELEASED] Custom Product Image Titles

Posted: Tue Aug 23, 2011 5:44 pm
by gtamborero
It works correctly on Opencart 1.5.1 after a bit of tunning up (for me):

The admin/view/stylesheet/stylesheet.css didn't work correctly, so I left the original one and it worked.
It has been dificult to me to understand that you have to click on every little "flag" on the Image tab so you can change title image on the selected language (nevermind, I finished at 4am :choke: )

Re: [RELEASED] Custom Product Image Titles

Posted: Sat Sep 03, 2011 11:14 pm
by Maansy
i would like to have it in VQmod version :)
is this possible?

Re: [RELEASED] Custom Product Image Titles

Posted: Fri Sep 16, 2011 7:03 pm
by bull5-i
vQmod released for OpenCart 1.5.1.x

Re: [RELEASED] Custom Product Image Titles

Posted: Wed Sep 21, 2011 10:26 pm
by Maansy
Thanks. Working great ;)

Re: [RELEASED] Custom Product Image Titles

Posted: Fri Sep 30, 2011 8:23 pm
by bull5-i
Added support for OpenCart 1.5.1.3 (both regular and vQmod versions are available)