Thanks for your work!

I prefer have last picture first, so I change the order of the picture manually. But when I have 2 pages, I don't find how do I can take the new picture to the first page.

Perhaps an option "change page" and/or an option for the order of the picture (asc or desc).

CommentFileSizeAuthor
#11 sortimages.jpg27.6 KBdbeall
#6 node_gallery-603600.patch11.55 KBkmonty

Comments

dbeall’s picture

Title: order images from one edit page to another without changing common settings to a high number » Can't change an image from a page to another

to show more images on the edit page that has the thumbnails..
Goto: Site configuration > Node gallery > Common settings

Enter the Number of images displayed on each gallery thumbnail page:
enter the number that you would like on that page.. then you can move them as needed.

I suppose there could be a third setting in the common settings for the Image edit page.
or
maybe a way to set the weight with a number as well as drag handles would do it.

dbeall’s picture

Title: Can't change an image from a page to another » order images from one edit page to another without changing common settings to a high number
Category: bug » feature

change title to better reflect issue.

Because if you change the common settings, the display of the galleries are also effected.

Edit:
I kinda like the idea of a move to "page number x" function..

or maybe

A fourth imagecache preset that has very small thumbnails just for the edit page
and make the edit page with no limit for the number of images.

kmonty’s picture

I've been considering moving to a very small imagecache preset for some time now. That or potentially resizing the thumbnail present to 50px height via css.

Having them all on one page is certainly ideal.

dbeall’s picture

Title: Can't change an image from a page to another » order images from one edit page to another without changing common settings to a high number

added to handbook Troubleshooting node gallery
will remove and/or update as changes are made.

kmonty’s picture

Priority: Normal » Critical

Bumping this to a release blocker.

kmonty’s picture

StatusFileSize
new11.55 KB

This is my first stab at solving this problem. It also combines the patch from comment #7 in #500460: Make the Upload/Manage Images template narrower

New features
1) Created a "Sort Images" tab that only allows 1) sorting, 2) deleting, 3) previewing the thumb and 4) setting cover
2) Removed pagination on "Manage Images" because saving a node while looking at a paginated manage images will break the sorting

Things I don't like about this patch:
1) There is some replicated functions now as the edit images form and sort images forms are so similar.
2) The sort images form still has all the node variables loaded, however they are hidden values now without labels.

Any thoughts? It certainly gets the job done, which is worth something. I'd definitely like people to test it out before I commit it.

For reference, the patch from #500460 did this:
1) I moved the gallery selection column to the bottom of the node editing column
2) Wrapped the imagecache thumb with a span
3) Forced the imagecache thumb to have a width of 100px

kmonty’s picture

Status: Active » Needs review
dbeall’s picture

Title: order images from one edit page to another without changing common settings to a high number » Add a sort images page with small thumbnails and limited editing functions

EDIT: sorry, meant to run this patch, but it crashed my install and I fell asleep at the computer... trying again.

dbeall’s picture

first run through, looks good, works good. with one issue

Gallery Landing Page Setting
( )Thumbnails --works as expected
( )Cover ---does not show any image, shows link(Continue to the Next Photo)
( )Thumbnails that open a Lightbox2 Gallery --works as expected

dbeall’s picture

#9 this is something different.. --different issue. ImageCache is not creating node-gallery-cover

EDIT:
I went to ImageCache list, click 'edit' next to cover- the file(node-gallery-cover) is now created upon clicking edit.
Going to do another test....
same result..
cover image is not displayed.
I went to ImageCache list, click 'edit' next to cover- the file(node-gallery-cover) is now created upon clicking edit.
visit gallery, still no cover image is generated

started new issue for this:
#619308: Gallery Landing Page set to 'cover' does not show any image, shows link(Continue to the Next Photo)

dbeall’s picture

StatusFileSize
new27.6 KB

attach screen shot so people can see without patching.

kmonty’s picture

Status: Needs review » Patch (to be ported)
kmonty’s picture

Status: Patch (to be ported) » Fixed

Commited

kmonty’s picture

Commited

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.