Album Picture Not Resizing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • induslady
    Senior Member
    • May 2005
    • 230
    • 3.7.x

    [Forum] Album Picture Not Resizing

    Hi all,

    I tried uploading a picture with dimension 1263*754 px in my forum post and the image automatically gets resized to 600*400 as seen in the attached screen shot.
    Click image for larger version

Name:	post_attachment.jpg
Views:	1
Size:	84.8 KB
ID:	3724816



    But when I upload the same picture in my albums it is not getting automatically resized and it spills over the entire screen as seen in attached screen shot.

    Click image for larger version

Name:	album_picture.jpg
Views:	1
Size:	94.3 KB
ID:	3724817



    Can any one let me know what setting I need to check to fix the issue.

    Thanks in advance for your response.
    IndusLady
    Indian Ladies Discussion Board | Indian Women Online Community
  • Hartmut
    Senior Member
    • Nov 2007
    • 2870
    • 4.2.x

    #2
    You can check this options at AdminCP -> Settings -> Options -> Message Attachment Options
    No private support, only PM me when I ask for it. Support in the forums only.

    Comment

    • induslady
      Senior Member
      • May 2005
      • 230
      • 3.7.x

      #3
      Hi Hartmut,
      Thanks for the response. In fact the pictures updated in a forum message works well but only the pictures updated in the user album is not getting resized.

      However I checked here - AdminCP -> Settings -> Options -> Message Attachment Options

      and found the setting as below:

      • Resize Images - Yes


      What setting do I check for the user album pictures to be resized?

      Thanks.
      IndusLady
      Indian Ladies Discussion Board | Indian Women Online Community

      Comment

      • Hartmut
        Senior Member
        • Nov 2007
        • 2870
        • 4.2.x

        #4
        I see, please check AdminCP -> Usergroups -> Usergroup Manager and then the specific usergroup. There you will find the option: User Album Permissions under where you can edit Album Picture Maximum Width (pixels) and Album Picture Maximum Height (pixels).
        No private support, only PM me when I ask for it. Support in the forums only.

        Comment

        • induslady
          Senior Member
          • May 2005
          • 230
          • 3.7.x

          #5
          Hi Hartmut,
          Thanks again for the response. I did check the said settings and find it to be:

          Album Picture Maximum Width (pixels) : 600
          Album Picture Maximum Height (pixels) : 600

          But the album picture displays in its original dimension of - 1263*754

          Is there any other setting am overlooking?
          IndusLady
          Indian Ladies Discussion Board | Indian Women Online Community

          Comment

          • BirdOPrey5
            Senior Member
            • Jul 2008
            • 9613
            • 5.6.3

            #6
            Try adding this to additional.css:

            Code:
            #picturelink img {
            max-width:600px !important;
            }
            Change 600 to whatever width in pixels you want.

            Comment

            • Hartmut
              Senior Member
              • Nov 2007
              • 2870
              • 4.2.x

              #7
              Originally posted by induslady
              But the album picture displays in its original dimension of - 1263*754

              Is there any other setting am overlooking?
              Did you use AdminCP -> Maintenance -> General Update Tools -> Rebuild Recently Updated Albums after you changed the settings?
              No private support, only PM me when I ask for it. Support in the forums only.

              Comment

              • induslady
                Senior Member
                • May 2005
                • 230
                • 3.7.x

                #8
                Hi,
                I have included this code in the additional.css :
                Code:
                #picturelink img { max-width:600px !important; }
                Originally posted by Hartmut
                Did you use AdminCP -> Maintenance -> General Update Tools -> Rebuild Recently Updated Albums after you changed the settings?
                My forum is busy one with stats as:
                Unique / Total Attachments: 134,660 / 131,533

                Running the above Maintenance tool- will it be server intensive? Is there any precautions that I need to take before running it. Or can I run it from the command line in a SSH client?

                Thanks in advance.
                IndusLady
                Indian Ladies Discussion Board | Indian Women Online Community

                Comment

                • Hartmut
                  Senior Member
                  • Nov 2007
                  • 2870
                  • 4.2.x

                  #9
                  Originally posted by induslady
                  Running the above Maintenance tool- will it be server intensive? Is there any precautions that I need to take before running it. Or can I run it from the command line in a SSH client?
                  By that amount of attachments it will be server intensive, yes.
                  No private support, only PM me when I ask for it. Support in the forums only.

                  Comment

                  • induslady
                    Senior Member
                    • May 2005
                    • 230
                    • 3.7.x

                    #10
                    Originally posted by Hartmut
                    By that amount of attachments it will be server intensive, yes.
                    In which case how do I run the maintenance update? Can I run it from the command line in a SSH client?
                    IndusLady
                    Indian Ladies Discussion Board | Indian Women Online Community

                    Comment

                    • Hartmut
                      Senior Member
                      • Nov 2007
                      • 2870
                      • 4.2.x

                      #11
                      Originally posted by induslady
                      In which case how do I run the maintenance update? Can I run it from the command line in a SSH client?
                      You just start the script under maintenance, I dont know if running from the command line will work.
                      No private support, only PM me when I ask for it. Support in the forums only.

                      Comment

                      • induslady
                        Senior Member
                        • May 2005
                        • 230
                        • 3.7.x

                        #12
                        Hi All,
                        In case any one searching to fix the same issue.
                        After updating the below code in additional.css:

                        Code:
                        #picturelink img { max-width:600px !important; }
                        the picture did not resize automatically because the CSS files were being stored as files, but forum did not have permission to write to these files so none of the changes made in additional.css were being updated. The below setting in AdminCP :

                        AdminCP > Settings > Options > Styles & Language Setting> Save CSS Style sheets as file? - Turned it from yes to no.

                        moved the css style sheets to Database system and that had it resolved.
                        IndusLady
                        Indian Ladies Discussion Board | Indian Women Online Community

                        Comment

                        Related Topics

                        Collapse

                        Working...