close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Upload Image Display Order 1st

Thread began 1/13/2013 10:37 am by richards374674 | Last modified 1/14/2013 9:10 am by Jason Byrnes | 511 views | 1 replies |

richards374674

Upload Image Display Order 1st

My client sends me new images to add to their gallery monthly and every month I have to manually move the new images to display first in the gallery rotation. Could someone instruct me on where to change the code so that newly added images always appear first?

Thanks you!

Sign in to reply to this post

Jason ByrnesWebAssist

you would need to edit the image recordsets on the admin_gallery/manage_images.php page, and on the index pages for each subfolder in the galleriies/ folder.

you would need to change the order by clause:
ORDER BY display_order ASC

to:
ORDER BY display_order DESC

once you make this change the gallery order will be reversed, so you will need to re order any existing galleries, but any new images you add will automatically show at the beginning.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...