jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Bugs => Topic started by: Makulia on 16.12.2014 09:31:00

Title: Thumb of uploaded image is removed from file list after saving edit [Not a Bug]
Post by: Makulia on 16.12.2014 09:31:00
Hello, Arno!

I have found this nasty bug while trying to make a photogall functional working.
When I am uploading photo (UI or scan) download is created and thumb and screenshot are generated.
But when I am trying to edit this download via edit form or simple open edit form and hit save, thumb diapered from my list view!


<a href="{screenshot}" class="fancybox" rel="{cat_id}" title="{description}"><img src="{thumbnail}" align="right" /></a>


It is because url of thumb changed to /

<a href="{screenshot}" class="fancybox" rel="{cat_id}" title="{description}"><img src="/" align="right" /></a>
Title: Re: Thumb of uploaded image is removed from file list after saving edit form!
Post by: Makulia on 16.12.2014 09:44:57
Ok, it is not a bug, but confusing behavior.

I have disabled "add image" in "administrator/index.php?option=com_jdownloads&view=group&layout" for registered users, because I do not need it.

Without this option when we are saving form with existing download and preview image, jDownloads writes an empty value into the db table while it should leave existing image value untouched!
I believe this behavior must be fixed ;)

Thank you!
Title: Re: Thumb of uploaded image is removed from file list after saving edit form!
Post by: Arno on 26.12.2014 15:26:59
Hi,
please try it again with latest version 3.2.19.
Possible that i have this fixed in the meantime.

Edit:
QuoteI have disabled "add image" in "administrator/index.php?option=com_jdownloads&view=group&layout" for registered users, because I do not need it.
You have disabled it in the layout? You can not do this here for the create/edit form.... (see User Groups Settings in jD backend) so i understand not what you have done exactly.  ???