A dealbreaker question
Joe Siegler
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 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? |
|
Posts: 16504
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
Posts: 54
That too would break it for me. I need to keep my resizes, too.
Posts: 7994
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!
Posts: 54
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.
Posts: 59
Are there any news on the "multiple resizes" issue?
Posts: 54
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.
Posts: 16504
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
Posts: 59
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?
Posts: 7994
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
Posts: 59
Tese are also options, but I wanna write a plugin, not reinvent function which should be available.
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?
Posts: 7994
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
Posts: 59
Thanks. I will work on WPG3 first so it might take a while.
I invite everybody to work on this. I promise testing
Posts: 59
For now I created a Workaround. Feel free to check Alpha Version of WPG3 Plugin @ http://wordpress.org/extend/plugins/wpg3