Album Image Resizing

This is a bit of a shot in the dark, but I was wondering if there was a way to completely ignore the resizing part of the uploading process so that raw untouched images could be shown to users? The main objective is to get animated gifs working for album photos upon viewing the photo (non-thumbnail).

  • 1094
  • More
Replies (7)
    • Hello LoneTreeLeaf !

      You'd better use Post app with Froala to insert the images because for Albums it should have the standards to show for the different devices and different pictures in one place.

      • Not quite sure if I follow and I apologize about that, still learning the ins and outs of the script. Are you saying that Post is linked directly to the Albums module? Even so, is there still a way to null out parts of the Album code that resizes the image thus getting rid of the GIF frames?

        • No, I mean that Posts are better for the animated GIFs then Albums, which require resize for the correct showing of the different uploaded pics.

          • I wouldn't suggest the idea that resizing is the optimal way of displaying the correct sized images within their respective containers. We have tools such as basic CSS to define media shapes and sizes for that use case. Resizing is truly meant for saving on bandwidth serving them to the client and as the end-user views them.

            If per say someone uses UNA to house their network which is built around user galleries, it makes more sense to have the Albums and Photo modules be able to handle raw media, or at the very least, display the unresized media within the main view while using the resized media strictly for thumbnail purposes.

            Still trying to understand how UNA stores it's files from module upload forms such as Albums to see if there's a way to restore the untouched file when a user views them in theatre mode and on it's dedicated view page. Just don't quite know if the resized script deleted the file after progressing and creating its own.

            • So you may try to apply 2 solutions:

              1) Go to Studio->Developer App and find on the first page the option "Use GD library for image processing ". Disable it then the system will be switched to use the Imagemagick - sometimes it allows to keep the GIF animation after the resize.

              2) If the previous step doesn't have effect execute the following query in your UNA database (backup it first):

              DELETE FROM `sys_transcoder_filters` WHERE `transcoder_object` = 'bx_albums_big' LIMIT 1;

              It will remove the resize part. Then go to Studio->Dashboard->Caches area and clear all cache.

              • Thank you for the suggested methods, not currently at my work machine, so will try them out when I'm able to. Will follow-up with the results.

                Also just wanted to send my thanks for you taking the time to reply, it's very much appreciated.

                • Method 1 didn't seem to work, even after a cache refresh both in the UNA app and on the browser level.

                  Method two worked like a charm, tried auditing the rest of the resize instructions that I didn't think I would need and they all seem to be working.

                  This might be a very niche feature request but might I suggest adding in an option within Studio to enable/disable the resize instructions that would remove/add those entries from the database table depending on a toggle switch is enabled or not?

                  Login or Join to comment.