1 (edited by hroeven 2024-12-07 17:23:34)

Topic: Uploaded images not showing in Image Library

I am uploading a new image in the upload tab, and hit start upload. The response is that the upload succeeded, but in the Libarary tab, the image is not shown. Tried different naming for the file, last one is just lowercase letters and jpg extension. But alas, no joy. What could be the problem?
Using showkase 1.7.1. Haven’t touched my site for years and finally want to refresh things.

Re: Uploaded images not showing in Image Library

Please try upgrading your site to the latest version of Showkase v1.7.6.

There was a fix in v1.7.1:

Fixed uploader shows green success icon after an error.

Even if the upload still fails, at least we should now get a description of the error which should hopefully point us in the right direction.

The upload module itself was updated in v1.7.4:

Updated to latest versions of PHPMailer, Smarty, CKEditor, jQuery UI, Plupload and jsTree

Also, after you have installed v1.7.6, please apply the patch I created as I fixed a couple of upload module problems (caused by PHP 8.1 and PHP 8.2 deprecations) and updated the upload module once again.

You can find instructions to upgrade Showkase here.
I've reactivated your download link and you should receive an email containing the link so that you can download the latest version of Showkase v1.7.6.

The patch I created can be found in this forum post.
More information about applying the patch can be found here.

Hopefully, updating your site to Showkase v1.7.6 + patch will resolve your problem without any further action.
However, if you continue to experience difficulties, please let me know and I'll try to help further.
Thank you.

Note:
Please be sure to make a complete backup of your existing site before upgrading. You should not experience any problems during the upgrade process but it would be wise to have a backup in case anything goes wrong and you need to reinstate your original files at a later date.

Re: Uploaded images not showing in Image Library

Hi Steven,
thank you for the quick response! Upgrading to 1.7.6 seems to have fixed the issue.
I have not applied the patch yet, as my download automatically unzipped in a new folder and I see many files in several folders that I would need to manually place in the correct location now. I am a bit cautious, don't want to manually merge folders for fear of messing up things. Is there perhaps an easier way? How critical is the patch?

Re: Uploaded images not showing in Image Library

thank you for the quick response!

You're welcome!

Upgrading to 1.7.6 seems to have fixed the issue.

That's great to hear! Thank you for letting me know.

... I would need to manually place in the correct location now

There should be no need to place any files manually. The official Showkase package and the patch zip file both extract to give a folder named 'showkase'. If you use an FTP program such as Filezilla, you can just upload the 'showkase' folder from the patch zip file to the same location that you initially installed Showkase to and let it overwrite any files already in place.

How critical is the patch?

The patch is necessary for PHP 8.1 and PHP 8.2 users. If your web server runs anything between PHP 5.2 and PHP 8.0, then you should be fine without the patch.

5 (edited by hroeven 2024-12-09 17:23:47)

Re: Uploaded images not showing in Image Library

If you use an FTP program such as Filezilla, you can just upload the 'showkase' folder from the patch zip file to the same location that you initially installed Showkase to and let it overwrite any files already in place.

That worked, thanks. Still, it might be good to just make a 1.7.7 release with the patch included, no?
Regards,
Hans

Re: Uploaded images not showing in Image Library

Still, it might be good to just make a 1.7.7 release with the patch included, no?

Agreed (but I'm not the original author of Showkase and I don't make the decisions around here!).