1::image_name1%% 2::image_name2%% 3::cannon%% 4::hp%% 5::lexmark
Creating a drop down select that is displayed to as an image
It is possible to create a field that appears as drop down select in item edit form, but in item display it appears as an image.
This is possible without creating (programming) a new field type. For this you will need to
- place your images in path inside joomla root folder, for example: images/stories/manufacturer/
- and use as display text for the select field the name of your images without their filename extension
e.g. if your images are: image_name1.jpg, image_name2.jpg, cannon.jpg, hp.jpg, lexmark.jpg,
you can create this output in your frontend (the html code bellow displays an image)
<img width="80" src="images/stories/manufacturer/cannon.jpg" />
- Create a new select field
- Set "Remove Space" to YES
- Enter as Field elements (Set "Use SQL query" to NO)
- In prefix text enter:
<img width="80" src="images/stories/manufacturer/ -
In suffix text enter:
" />



Latest Comments
Will there be a FLEXI access version for Joomla 2....
Tuesday 08:44
Hi! The latest version FLEXIcontent 1.5.6 RC5_r127...
Thursday 09:24
Hi! I have my translation of the Polish version (v...
Friday 20:43
Hi! When will the new version be out? I am using 1...
Tuesday 16:14