Imagelist field type

29 views
Skip to first unread message

elin

unread,
Oct 11, 2009, 1:01:27 PM10/11/09
to Joomla! CMS Development
In 1.5 imagelist was used to generate a drop down of images to pick
from, usually, but not exclusively, in the category/section
descriptions and for menu items. Currently imageslist is producing a
broken field (that is it is just a blank field, no dropdown). There is
a media fieldtype which makes a modal with nothing in it. At the same
time, there's an imagelist view in com_media that looks like it is
just waiting to be included in a modal. It certainly would eliminate
a lot of unnecessary clicks to be able to use the imagelist view right
there. On the other hand, now that there is rich editing plus the
image plugin almost everywhere, perhaps it isn't even necessary to
have a separate imagelist parameter in so many places.

So how should people working on cleaning things up deal with imagelist
parameters?

Elin

elin

unread,
Oct 13, 2009, 8:44:23 AM10/13/09
to Joomla! CMS Development
There is a thread on the general list

http://groups.google.com/group/joomla-dev-general/browse_thread/thread/a5e6e46c15788391

that is connected to this in which Andy asks whether the directory for
images should still be hard coded into the layouts for use by
imagelist. This was a big mess in 1.5 which JBS spent weeks debating
how to fix because the back end was hard coded but the front end was
using the configured media folder. So what we need is to make a
decision one way or another about that and also how the imagelist
parameter is supposed to work now (drop down or modal to the media
manager). I think it's good to have both options. Either way, we need
a decision for the editing views to be functional.

You could eliminate and force people to do it in the wysiwyg and then
they have the modal there, but the advantage of the image list is that
you can use the layout to force the chosen image to a particular
location on the page or a preset size.

Elin

elin

unread,
Oct 14, 2009, 6:42:44 PM10/14/09
to Joomla! CMS Development
So the consensus is just leave them broken?

Elin


On Oct 13, 8:44 am, elin <elin.war...@gmail.com> wrote:
> There is a thread on the general list
>
> http://groups.google.com/group/joomla-dev-general/browse_thread/threa...

Louis Landry

unread,
Oct 14, 2009, 10:42:09 PM10/14/09
to joomla-...@googlegroups.com
Yeah, I think you can safely assume that after a few days and no one has answered you that we all want it just to stay broken. :-)

On a more serious note, I personally think it would be much more appropriate if we used the media manager in a modal and had some sort of filter so that one could choose what kinds of files are able to be selected, eg. images. 

- Louis
--
Development Coordinator
Joomla! ... because open source matters.
http://www.joomla.org

elin

unread,
Oct 15, 2009, 7:52:42 AM10/15/09
to Joomla! CMS Development
As you can probably tell, I like the modal idea also. But yes you're
right it would need a filter because while in some places it would
make sense to allow you to include whatever media type you want, in
others like the icons for weblinks and menu images, it perhaps does
not. And it's also the obvious kind of thing a site administrator or
designer would like to control.

The more important question is, given that jform doesn't include an
imagelist field is the intent to put the field into one of the
component models and then pull it in from there? And if so, would
com_media be the place that makes the most sense?

Also, what's the intended use of the media field?

Elin
> Joomla! ... because open source matters.http://www.joomla.org- Hide quoted text -
>
> - Show quoted text -

Ian MacLennan

unread,
Oct 15, 2009, 10:10:04 AM10/15/09
to joomla-...@googlegroups.com
It might make sense to separate the allowed extensions field into groups so that the site admin can define separately what video files, what audio files, what images, etc users are allowed to upload.  Then it is trivial to configure the flash uploader to only allow selection and uploading of those types of files.

Ian

elin

unread,
Oct 15, 2009, 12:04:08 PM10/15/09
to Joomla! CMS Development
I like that.
Well I was noticing in the com_media views that imagelist is looking
just for images on a predefined list but medialist is not. It seems
way more efficient to do the field groupings.

Elin
> > > - Show quoted text -- Hide quoted text -
Reply all
Reply to author
Forward
0 new messages