A dealbreaker question

Joe Siegler
Joe Siegler's picture

Joined: 2005-09-14
Posts: 54
Posted: Wed, 2009-07-15 15:23

I use Gallery v2 on a few of my sites. On two of them, the software has integrated beyond simple gallery displays. I use many images on both these sites' gallery installations in various places on those websites:

http://www.rangerfans.com
http://www.black-sabbath.com

My question is this. Does Gallery 3 respect existing URL's for images and resizes and things like that? I've thought about going to 3 when it's ready, but if I do not have 100% respect for existing links and sizes, it will break huge chunks of my website to the point where I could not use Gallery 3.

Is there any news on this?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-07-15 19:17

Test it :)

G3 can import G2, there is even some URL Rewriting (see .htaccess in your gallery3 directory)

AFAIK though, G3 is only going to have thumb, 1 resized, and full version. No multiple resized versions I believe.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Joe Siegler
Joe Siegler's picture

Joined: 2005-09-14
Posts: 54
Posted: Wed, 2009-07-15 20:24
Quote:
AFAIK though, G3 is only going to have thumb, 1 resized, and full version. No multiple resized versions I believe.

That too would break it for me. I need to keep my resizes, too.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2009-07-16 02:24

We'll provide a script to rewrite photo and album urls. We can probably do something to support resize urls (but we may not have time to have that available for 3.0). We may eventually support multiple resizes, but definitely not for the 3.0 release. If that breaks the deal for you, I'm sorry to hear it-- but there's always G2.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

 
Joe Siegler
Joe Siegler's picture

Joined: 2005-09-14
Posts: 54
Posted: Sat, 2009-07-18 11:43

Well, yeah - I'll stick with G2, if that's the case. I'm always a "latest and greatest" version kind of guy. It'll be hard to not upgrade if that's the case. Once you guys go final, I'll evaluate how it works at that time. Doesn't sound like it will do what I need it to do right now from your post, but I'll continue to monitor the situation.

Tkx.

 
digitaldonky
digitaldonky's picture

Joined: 2005-10-18
Posts: 59
Posted: Tue, 2010-10-26 00:23

Are there any news on the "multiple resizes" issue?

 
Joe Siegler
Joe Siegler's picture

Joined: 2005-09-14
Posts: 54
Posted: Tue, 2010-10-26 00:28

dd, I've been told in another thread that v3 does not support pickup of the v2 resizes and URLs. Someone said that it might get added later, or perhaps someone will write a user mod or something. But for now, it doesn't.

I'm staying with v2 now.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-10-26 00:30

Nothing new. It's not in 3.0, use G2 if you need it.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
digitaldonky
digitaldonky's picture

Joined: 2005-10-18
Posts: 59
Posted: Tue, 2010-10-26 01:05

It will be hard to develop a wpg2 sucessor without this feature.
I run gallery2 and the wpg2 plugin on many and I'm on the way to write WPG3.

What to do with the good old <wpg2>6570|200</wpg2> without being able to get the Image 200px wide?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2010-10-26 02:25

You can always take the resize and scale it down with width/height attributes in an <img> tag. Or you can resize them on the fly in your wpg2 module and cache the results for performance. Or you can scale the thumbnail (which might upscale). There are options. But adding a 2nd resize for everybody isn't appropriate in the core code...
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
digitaldonky
digitaldonky's picture

Joined: 2005-10-18
Posts: 59
Posted: Tue, 2010-10-26 09:42
Quote:
You can always take the resize and scale it down with width/height attributes in an <img> tag. Or you can resize them on the fly in your wpg2 module and cache the results for performance. Or you can scale the thumbnail (which might upscale). There are options.

Tese are also options, but I wanna write a plugin, not reinvent function which should be available.

Quote:
But adding a 2nd resize for everybody isn't appropriate in the core code...

I dont want a SECOND but ANY resize by REST. This is a "dealmaker" question :)

Think about all the other CMS which might get a integration. Everybody has these small, medium, big stuff. That's crap. Not the comfort I would expect. Why should I integrate a gallery3 when I get similar functions that are build in?

But I see, it's on the very last place of the "might-be feature" list. I just imagine these billions of WP users uploading images with lightroom or whatever...

@bharat
How hard it would be to enable this functionality for the rest api?
Or why it is NOT available? What are the reasons beside "isn't appropriate"?
Can you give some hints where to start if someone wanna implement this into a module?

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2010-11-06 22:19

It'd be pretty easy to add a rest resource that did custom resizes. You'd write a module (say "custom_resizes") and create modules/custom_resizes/helpers/custom_resizes_rest which would add a new relationship to photo items and when you call GET on it you specify the dimensions you want. Then it generates the image at that size and caches it somewhere under var/modules/custom_resizes and serves it up. If somebody wants to do get the ball rolling on writing this I'll lend some help.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
digitaldonky
digitaldonky's picture

Joined: 2005-10-18
Posts: 59
Posted: Tue, 2010-11-09 10:55

Thanks. I will work on WPG3 first so it might take a while.
I invite everybody to work on this. I promise testing :)

 
digitaldonky
digitaldonky's picture

Joined: 2005-10-18
Posts: 59
Posted: Fri, 2010-11-19 15:34

For now I created a Workaround. Feel free to check Alpha Version of WPG3 Plugin @ http://wordpress.org/extend/plugins/wpg3