[thelist] image in select list

Bob Meetin ontheroad at frii.com
Sun Mar 25 20:06:03 CDT 2007


This is PHP/MySQL. A couple of the ideas have merit including this one - 
I think either building a section with selectable images (that trigger 
the value) or the radio buttons would be easiest.  How many images - 
don't know yet.  I am building a self-administration form for a client 
so that she can select both the 'before' and then the 'after' images and 
write add some narrative input.  It will depend on her passion to make 
it happen.  I would like to see a set of 5-10 ongoing pairs.  The 
problem I'm envisioning is the amount of real estate, particularly if I 
have to display one set of images for before and also after.  That's why 
I was thinking option/select. 

What I have done in the mean time (how do you spell jerry rig?) is to 
set up a regular select which will display the file names only for both 
before and after, then separately in a <table> display thumbnails with 
the associated filename to the right.  It's not as nifty as selectable 
images, but much less coding and is reasonably easy to manage. And 
Sunday is my day off, right... -Bob

Hassan Schroeder wrote:
> On 3/25/07, Bob Meetin <ontheroad at frii.com> wrote:
>   
>> Purpose:  to make it easier to browse through a list of images on a
>> website (previously uploaded with filename info in a database) and
>> select one to associate with a project.
>>     
>
> You could do the equivalent with a set of radio buttons, but if you're
> committed to using a select, make the images the background-image
> of each <option> ...
>
> Works in FF (SuSE/KDE) though apparently not in IE7/XP. Maybe that's
> not a problem for you :-)
>
> HTH,
>   





More information about the thelist mailing list