Announcement

Collapse
No announcement yet.

Album Picture Not Resizing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • induslady
    replied
    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.

    Leave a comment:


  • Hartmut
    replied
    Originally posted by induslady View Post
    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.

    Leave a comment:


  • induslady
    replied
    Originally posted by Hartmut View Post
    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?

    Leave a comment:


  • Hartmut
    replied
    Originally posted by induslady View Post
    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.

    Leave a comment:


  • induslady
    replied
    Hi,
    I have included this code in the additional.css :
    Code:
    #picturelink img { max-width:600px !important; }
    Originally posted by Hartmut View Post
    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.

    Leave a comment:


  • Hartmut
    replied
    Originally posted by induslady View Post
    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?

    Leave a comment:


  • Joe D.
    replied
    Try adding this to additional.css:

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

    Leave a comment:


  • induslady
    replied
    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?

    Leave a comment:


  • Hartmut
    replied
    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).

    Leave a comment:


  • induslady
    replied
    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.

    Leave a comment:


  • Hartmut
    replied
    You can check this options at AdminCP -> Settings -> Options -> Message Attachment Options

    Leave a comment:


  • induslady
    started a topic [Forum] Album Picture Not Resizing

    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.

Related Topics

Collapse

Working...
X