increase media items displayed

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
ekhoo
Regular
Posts: 17
Joined: Mon Aug 09, 2004 1:12 pm

increase media items displayed

Post by ekhoo »

currently, serendipity shows by default 8 items in the media page. WHere do I change this to default to 16?

Can it also be defaulted to not display sub-directories unless selected?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: increase media items displayed

Post by garvinhicking »

Currently those items are not able to be configured as default setting.

You can change the amounts of items by editing the function serendipity_displayImageList - set $perPage to a specific value.

I do think that default values for those options are not needed, you can change them with the ease of 2 clicks...adding a configuration directive for those IMHO seems a bit overkillish.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Post by Guest »

Thanks Garvin. Actually I'm just lazy to click :D
Also, my blog is very photo/picture heavy so sometimes, i'd like to post 8-9 thumbnails on one entry which can be cumbersome to click through the images.
ykoehler
Regular
Posts: 11
Joined: Sun Jan 30, 2005 12:57 am
Location: Montreal
Contact:

Add to todo?

Post by ykoehler »

Hi,

Can such configuration options be added to the todo? I also foresee that as I add pictures, I would probably like to have more and more pics displayed over the same window. Also, on my high resolution screen, there is probably a lot more pictures that could be displayed while still being very usable.

And here is another todo, most web application I have seen provide facility to connect with imageMagik to resize/crop and generate thumbnails through the web interface. That would be awesome to have as well because not all pictures comes in the format that actually make sense to display inside the blog article.

A third todo, would be also that when such thumbnail is used in an article that the real picture size is actually available by clicking on the thumbnail. This kind of mean that at the page where we can select the layout of the image, that we could also say create an hyperlink around the img that points on the original.
Yannick Koehler
tomsommer
Core Developer
Posts: 240
Joined: Tue Sep 02, 2003 6:43 pm
Location: Denmark
Contact:

Post by tomsommer »

We have no plans to make the default image display configurable.

You can already choose to use imagick for your thumbnail resizeing.
Tom Sommer (Serendipity Core Developer)
http://blog.dreamcoder.dk
ykoehler
Regular
Posts: 11
Joined: Sun Jan 30, 2005 12:57 am
Location: Montreal
Contact:

thumbnails

Post by ykoehler »

Hi,

When I select an image to be inserted, the selection is on the full picture. How can I tell to use the generated thumbnail instead? Or is it already using the thumbnail? (I have the impression that the original image is used in the article).
Yannick Koehler
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Add to todo?

Post by garvinhicking »

Tom, I think he meant to have a display to dynamically crop images, like within Photoshop.

Such an interface would be quite JavaScript-heavy and hard to program. Yanick, do you know of an BSD-license free tool doing this? :)

And about the config option: As there are now already two users requesting this, well...it could be implemented easily into personal preferences. I'll put it on my todo :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
tomsommer
Core Developer
Posts: 240
Joined: Tue Sep 02, 2003 6:43 pm
Location: Denmark
Contact:

Post by tomsommer »

I don't see why we should cramp every tiny option into the configuration, two users requesting this, is nothing.
Last edited by tomsommer on Sun Jan 30, 2005 7:43 pm, edited 1 time in total.
Tom Sommer (Serendipity Core Developer)
http://blog.dreamcoder.dk
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

2 users telling their need on this low-traffic forum is like many users "in the wild". So I more like to help those users. We could put other reasonable defaults for the media library there as well in the future...well.

We could say, if a third user here cries for it as well, we're settled? ;)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
tomsommer
Core Developer
Posts: 240
Joined: Tue Sep 02, 2003 6:43 pm
Location: Denmark
Contact:

Post by tomsommer »

No

Next you want to save the default folder and sort options... seriously, they are in the filters so people can change them... that's why we have filters, otherwise we should drop those.
Tom Sommer (Serendipity Core Developer)
http://blog.dreamcoder.dk
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Tom, take it easy.

Filters would still be needed, because one DOES want to view a different folder. Or are you suggesting he should change the default folder every time then? :-)

But if you're against it, then the only thing to help you be convinced is more users complaining here ;-)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
ykoehler
Regular
Posts: 11
Joined: Sun Jan 30, 2005 12:57 am
Location: Montreal
Contact:

No war...

Post by ykoehler »

Hi,

I didn't meant to start a war on this :-)

While I think that generaly speaking most applications should provide configurable default values for anything in a global and per author scope, I do feel that this kind of functionnality is a low priority and benefit.

I did mention that I would like something like that mostly for the future at the moment there is no need for this on my site yet.

I also saw that in the next version an author will be able to add to the mediatheque from within the creation of article page. If I did interpret this right then it may reduce the need for this even more..
Yannick Koehler
Post Reply