TOPIC:

Displaying an image in the drop-down list. 1 week 19 hours ago #251002

  • baramoonda's Avatar Topic Author
  • baramoonda
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 8
  • Thanks: 0
How to organize the display of an image in the drop-down list?
0; status_1; pic_1
0; status_2; pic_2
0; status_3; pic_3
The administrator selects a text value (status_1) in his panel, and an ordinary user sees the corresponding picture (pic_1).

Please Log in or Create an account to join the conversation.

Displaying an image in the drop-down list. 6 days 15 minutes ago #251019

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 2267
  • Karma: 3
  • Thanks: 210
Hi,

I create an example for you.

File Attachment:

File Name: example3.zip
File Size:6 KB


Please download->unzip and install it (BF->Configuration->Package Installer->Select this file->Install Package), after that you can find this form in Manage Forms.

The code is located in select list->Advanced->Actionscript:

to test this please replace #ff_elem24039 with ID of select list(right click to your browser->Inspect and find ID for this select list)

If you need more help, let me know

Regards,
Tihana
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: Post by tihana.krivic.

Displaying an image in the drop-down list. 5 days 13 hours ago #251041

  • baramoonda's Avatar Topic Author
  • baramoonda
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 8
  • Thanks: 0
Hello, thanks for your help!
I installed your example and showing you the result:

Unfortunately the value 1 in your example does not show the picture, only the name of the value.
You can help?

Please Log in or Create an account to join the conversation.

Last edit: Post by baramoonda.

Displaying an image in the drop-down list. 5 days 13 hours ago #251044

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 2267
  • Karma: 3
  • Thanks: 210
Hi,

I am afraid that is not possible to put images as value in the "select from list" element type, list shows only the code for image and not display image.

Regards,
Tihana

Please Log in or Create an account to join the conversation.

Displaying an image in the drop-down list. 5 days 12 hours ago #251048

  • baramoonda's Avatar Topic Author
  • baramoonda
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 8
  • Thanks: 0
Your picture is displayed in the form, but I need it to be displayed in the content

Please Log in or Create an account to join the conversation.

Last edit: Post by baramoonda.

Displaying an image in the drop-down list. 5 days 11 hours ago #251049

  • baramoonda's Avatar Topic Author
  • baramoonda
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 8
  • Thanks: 0
Maybe we need to use CBImageScale?
Or output an image from MySQL? is there such a code?

Please Log in or Create an account to join the conversation.

Last edit: Post by baramoonda.
Moderators: ForumSupport
Time to create page: 0.043 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!