I find this kinda important, in the front end when ever I change the alias of a image and save it, it redirects me to the frontpage of joomgallery.

Example I have a photo Called "Mount Maude" (as seen here http://www.alpineascent.com/photo/josh/spider-gap/mount-maude-1992 ) which before was titled "Maude". I changed the alias to be "Mount Maude" from the frontend when using the new edit button in detail view. I know exactly why the problem occurs. When you edit a photo I believe it redirects you to the url of the image you were editing. But that url is no longer valid due to the url change when editing the alias, as a result any faulty joomgallery urls redirect you to the frontpage.

I tested changing the title in the photo manager which as I predicted does not have this problem.

Not sure this is possible, but once you save the image it would be cool if it redirected you to the url based on your alias change. If this problem were fixed, it would also help when completely getting rid of the alias and letting the title generate the url when editing a photo.Any help would be appreciated.

You have analyzed the problem very well and have correctly identified the cause.Unfortunately, I can't offer a solution.At the time when the redirect links for returning back to the calling URL are created the new alias is not known and at the time it is known it is too late for creating the redirect links.

I figured out how this can be solved! So many galleries have it set up so that the image title is in the url (Joomgallery as well), but does not necessarily have to be proper. Joomgallery unfortunately is very absolute.

Native Joomla articles is the same way! Here is a great example of this:http://www.alpineascent.com/trip-report/89-completely-wrong-urlThe url says completely wrong (at the end of it), when it actually links right to my trip report (Inspired to Climb Spire Point). So if Joomgallery was made to work this way, I can be almost certain this problem above would be solved.

Another benefit to this is if in the backend a admin changes a title, the old url will still work.

I thought of another idea (before I even tired searching wordpress)I decided to check out the set up of wordpress which they have it set up so that if you change the url title, the url still works but changes the url to it's original form.

I think it's also bad SEO to have broken url's. Currently Joomgallery has the upload setup so that if you upload multiple photos it's the same title. This would require the users to change the title and possibly the alias. (although that part is not required)

If we are worried about creating fake url's, I could make up something like http://www.domain.org/completely-fake-url which obviously it wouldn't work. So why would someone want to create a fake url that actually works?

Just some things to consider. However, if another method is designed to fix the problem originally stated in this thread, I'd be pleased.