Which folder for category images in 1.6

16 views
Skip to first unread message

Andrea Tarr at Tarr Consulting

unread,
Oct 6, 2009, 7:14:41 PM10/6/09
to joomla-de...@googlegroups.com

Do we know where the images for categories are going to be stored? I’m coming across hardcoded “images/stories” working on the html layouts and I notice there is no “images/stories” in the trunk.

 

Thanks!

Andy

 

Andrea Tarr

www.tarrconsulting.com

 

 

elin

unread,
Oct 7, 2009, 5:05:46 PM10/7/09
to Joomla! General Development
This was a mess in 1.5 because when the images folder was made
configurable the hard coding prevented accessing images in the
configured folder Eventually all of those layouts were returned to
hard coding.. If images is configurable I would think that the
category images would be there rather than in the standard images/
stories folder.That way users can upload images to the configured
folder using the media manager.

This sort of relates to another issue which I was wondering about,
which is whether component images (ones that are hardcoded in layouts)
should be in the media folder or in an images folder in the component.
I had thought this was discussed before and that the answer was media,
but this doesn't appear to be happening in practice.

Elin

On Oct 6, 7:14 pm, "Andrea Tarr at Tarr Consulting"
<at...@tarrconsulting.com> wrote:
> Do we know where the images for categories are going to be stored? I'm
> coming across hardcoded "images/stories" working on the html layouts and I
> notice there is no "images/stories" in the trunk.
>
> Thanks!
>
> Andy
>
> Andrea Tarr
>
>  <http://www.tarrconsulting.com>www.tarrconsulting.com

Amy Stephen

unread,
Oct 7, 2009, 5:32:42 PM10/7/09
to joomla-de...@googlegroups.com
I believe Kyle Ledbetter from JoomlaPraise provided a patch to move the images to where Template Developers could change those. I'll ping him, though, and see if he will comment on this. There's a lot of good activity going on with Administrative Templates, so, enabling developers to override these images is a good thing.

Thanks!

joomlapraise

unread,
Oct 7, 2009, 5:49:15 PM10/7/09
to Joomla! General Development
Hey all,
The patch I submitted removed the hardcoded images from the admin
quickicon module and replaced it with CSS classes to allow CSS
background-images.
In terms of admin templating, it makes it much easier on designers if
the images aren't hardcoded, and everything is CSS.
This doesn't directly relate to the images folder vs. media folder
decision, but thought that info might help :)
-Kyle

On 7 Oct, 16:32, Amy Stephen <amystep...@gmail.com> wrote:
> I believe Kyle Ledbetter from JoomlaPraise provided a patch to move the
> images to where Template Developers could change those. I'll ping him,
> though, and see if he will comment on this. There's a lot of good activity
> going on with Administrative Templates, so, enabling developers to override
> these images is a good thing.
>
> Thanks!
>

Oli Griffiths

unread,
Oct 8, 2009, 3:43:01 AM10/8/09
to joomla-de...@googlegroups.com
Hey Guys,

If I may with my 2 cents.

My rule of thumb is that the images directory should be used for component asset images that are user/component driven, not layout driven (ie, avatars etc). Why do we still have a stores directory anyways? Its a ridiculous name, who here has actually posted a story on their joomla site (but that’s another matter).

Images that make up layout or presentation should be kept with the component, and either use css to display them or JHTML::_(‘image.site’) or JHTML::_(‘image.administrator’) making them dynamic and overridable through the template.

I don’t think that trying to mix them up is a great idea. Perhaps have a separate location for the default joomla images (print, pdf etc) and keep the images directory clean for just component specific images (menu manager, content, banners) each in a separate folder.

Any thoughts anyone?

elin

unread,
Oct 13, 2009, 8:19:55 AM10/13/09
to Joomla! General Development
This thread should probably move over to the cms list.

Andy is talking about the imagelist drop downs that show up in places
like category descriptions. It's a hard coded folder not a hard coded
image. Anyone can add images to the list using the media manager.



Elin
Reply all
Reply to author
Forward
0 new messages