Jump to content

Remote Image Size


Bill Edwards

Recommended Posts

Posted

Dear All

We limit image size on our forum to 800x600

Someone just posted some remote images that far exceeded our maximum. I thought they were controlled by our maximum, but evidently not.

How can I limit the size of remote images?

Any help gratefully recieved.

Many thanks

Bill

Posted

You don't... 

I have it report as a bug, no reaction from ips.

I think its not important enough for ips, its a important thing for us because or members use thise a lot. (does not look good now on the post)

YouTube and images are most post things on my forum.

But maybe same day ips will fix it, on ips 3 was this not a problem.

 

 

Posted
15 minutes ago, Adlago said:

This solution works. Add in your Custom CSS:


.ipsType_richText img {    
 max-width: 80% ;
}

Choose 'xx %' and you have the appropriate size for your image.

@Adlago

Thank you very much! :thumbsup::rofl::smile:

We appreciate it very much!!!

Posted
20 minutes ago, Adlago said:

This solution works. Add in your Custom CSS:


.ipsType_richText img {    
 max-width: 80% ;
}

Choose 'xx %' and you have the appropriate size for your image.

Thanks for your input, but I'm not very clever :)

Doesn't that set a percentage size? How would I set a pixel size? (800x600)

Posted
1 minute ago, Bill Edwards said:

Thanks for your input, but I'm not very clever :)

Doesn't that set a percentage size? How would I set a pixel size? (800x600)

like this 

.ipsType_richText img {    
  max-width: 800px;
  max-height: 600px;
}

 

Posted
15 hours ago, TAMAN said:

like this 


.ipsType_richText img {    
  max-width: 800px;
  max-height: 600px;
}

 

Thanks for the input, however, unfortunately that breaks the photo size on mobile devices

Posted
14 minutes ago, Bill Edwards said:

Thanks for the input, however, unfortunately that breaks the photo size on mobile devices

You can also add this to custom.css and the value will only be applied for screens that are 767 pixels wide or smaller.

@media screen and (max-width: 767px) {
   .ipsType_richText img {    
      max-width: 800px;
      max-height: 600px;
   }
 }

Change the value to whatever you want but add it to the END of your custom.css 
    

 

  • 4 weeks later...
Posted
On February 06, 2016 at 11:17 PM, Adlago said:

This solution works. Add in your Custom CSS:


.ipsType_richText img {    
 max-width: 80% ;
}

Choose 'xx %' and you have the appropriate size for your image.

 

This one did it for me. Thanks a lot!

Posted
On February 07, 2016 at 3:43 PM, Bill Edwards said:

Thanks for the input, however, unfortunately that breaks the photo size on mobile devices

Then add a qualifier for mobiles:

@media (min-width: 600px) {
.ipsType_richText img {    
      max-width: 600px;  <--- or  whatever you want
      height: auto; }

  • 4 months later...
Posted
On 06/02/2016 at 8:17 PM, Adlago said:

This solution works. Add in your Custom CSS:


.ipsType_richText img {    
 max-width: 80% ;
}

Choose 'xx %' and you have the appropriate size for your image.

 

Thank you for your help!

I would know how to do it with MEDIA ? If I set the ACP video is always on the left side of the post.

Posted
7 minutes ago, Berg. said:

 

Thank you for your help!

I would know how to do it with MEDIA ? If I set the ACP video is always on the left side of the post.

Video center - see this

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...