Do you know if there is a way to show in wordpress (sidebar) the pictures from one specific folder/album instead of all the latest pictures? Thanks in advance.
is there a reason why the following query does not return the dynamic albums: SELECT images.filename AS filename, images.`desc` AS description, album.folder AS folder, images.title AS title FROM images AS images INNER JOIN albums AS album ON album.id = images.albumid WHERE folder like '%Black%';
don't want to look like I'm talking to myself, but after I decided to look at the database I think I know where the problem is. In dynamic albums the images.albumid is always the one associated with the original/real folder. I thought a "mirror" image was created in the database once the album is created. Wrong assumption.
Another question then, is it possible to create a "mirror" entry in the database that can be associated with the dynamic album? The reason I'm asking this is that existing wordpress plugins run the above query and don't return anything because there is no common id between images and albums.
But you have a interessting conversation with yourself...:-)
Regarding zenpressed, I think that was developed before the dynamic albums appeared. It's developer might update it some time.
I believe that mirror entries may make it a little more complicated that necessary, but sbillard coded the dynamic albums stuff, so he might answer to that later.
Dynamic albums are called "dynamic" because they don't really exist. The best way to think of them is that they are encapsulated queries. So, the images shown by a dynamic album really don't "belong" to the album, they are "owned" by the album within whose folder they reside. (No images were copied or harmed in the process!)
just enough to make dynamic albums appear as normal albums. At the moment: *image.php has wrong links when coming from a dynamic albums. It has the links of the original album and it would be nice to have the links of the dynamic album (example here: http://www.reda-ek.com/gallery/B-AND-W.alb/ when looking at single picture, the links at the top are wrong) *How do you establish the link between an image and a dynamic albums. Currently, the existing plugins for wordpress don't and won't work. Let's say I want to have a sidebar that shows all pictures from a dynamic album (e.g. "mobile blog"), that is not possible unless the album is real. Is there any alternative that can show these pictures and link that dynamic album?
I know, it might be just me and therefore further development is not justified, but I think it gives a lot of flexibility... thanks in advance.
Your theme is not showing the right things in the breadcrumb link. I will check further. I am getting the dynamic album (all be it twice) in the breadcrumb link. The repeat is a new problem. I will look into it. You should check your theme and see why it is behaving differently than the distributed ones.
Hi, sorry but I checked with the distributed themes as well and I have the same behaviour. I'm not sure 100% but I don't think it's the theme. Just to clarify further, in image.php the address in the address bar is also showing the real path (is that normal?). I was expecting something like: www.mydomain.com/gallery/dynamicalbum/image
but I guess it's not possible. Thanks in advance!!!
You mean you want the browser address bar to be "www.mydomain.com/gallery/dynamicalbum/image"?
That won't happen. The browser address bar has to be a link that will display the image page with the real image. But, the breadcrumb navagation should still work correctly. Those are all working correctly for me (now that I have fixed the duplicate of the album name. The fix will be in tonight's build.)
What I observed on your site it that the breadcrumb navigation seem to be what one would expect from going stratght to the image from its real album. That is what is different from the distributed themes.
ok, many thanks for fix, I'll try today. Regarding the link in the address bar, the only reason I was asking for that is to completely make the dynamic album a standalone album with no reference to the real album.
Comments
SELECT images.filename AS filename, images.`desc` AS description, album.folder AS folder, images.title AS title FROM images AS images INNER JOIN albums AS album ON album.id = images.albumid WHERE folder like '%Black%';
Any comment?
Another question then, is it possible to create a "mirror" entry in the database that can be associated with the dynamic album? The reason I'm asking this is that existing wordpress plugins run the above query and don't return anything because there is no common id between images and albums.
Regarding zenpressed, I think that was developed before the dynamic albums appeared. It's developer might update it some time.
I believe that mirror entries may make it a little more complicated that necessary, but sbillard coded the dynamic albums stuff, so he might answer to that later.
Regarding this thread, I personally think that dynamic albums are a really great feature. Do you know if they are going to be further developed?
Thanks in advance and sorry for the thousands of requests ;-)
*image.php has wrong links when coming from a dynamic albums. It has the links of the original album and it would be nice to have the links of the dynamic album (example here: http://www.reda-ek.com/gallery/B-AND-W.alb/ when looking at single picture, the links at the top are wrong)
*How do you establish the link between an image and a dynamic albums. Currently, the existing plugins for wordpress don't and won't work. Let's say I want to have a sidebar that shows all pictures from a dynamic album (e.g. "mobile blog"), that is not possible unless the album is real. Is there any alternative that can show these pictures and link that dynamic album?
I know, it might be just me and therefore further development is not justified, but I think it gives a lot of flexibility... thanks in advance.
sorry but I checked with the distributed themes as well and I have the same behaviour. I'm not sure 100% but I don't think it's the theme. Just to clarify further, in image.php the address in the address bar is also showing the real path (is that normal?). I was expecting something like:
www.mydomain.com/gallery/dynamicalbum/image
but I guess it's not possible. Thanks in advance!!!
That won't happen. The browser address bar has to be a link that will display the image page with the real image. But, the breadcrumb navagation should still work correctly. Those are all working correctly for me (now that I have fixed the duplicate of the album name. The fix will be in tonight's build.)
What I observed on your site it that the breadcrumb navigation seem to be what one would expect from going stratght to the image from its real album. That is what is different from the distributed themes.
Regarding the link in the address bar, the only reason I was asking for that is to completely make the dynamic album a standalone album with no reference to the real album.
Thanks anyway!!
Thanks for the fix!