News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Thumb of uploaded image is removed from file list after saving edit [Not a Bug]

Started by Makulia, 16.12.2014 09:31:00

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Makulia

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>
  •  

Makulia

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!
  •  

Arno

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.  ???
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •