The height and width settings of the images I upload do not work.
The size of the images that I upload is loaded in that way.
I want to have the size of the pictures in the settings I set. How do I set. I made the normal settings but those settings are not active. what is the reason of this.
sorry to translate
your best bet in light of the tricky settings not working all the time if at all, is to use CSS...
in your stylesheet, add at the bottom:
.post img{
max-width:500px;
height:auto;
/*or enter the max width you want in pixels instead of 500 leaving the height auto
OR
defining the height and leaving the width auto
e.g
max-height:500px;
width:auto;
*/
}
play with the width or height until you're happy with the maximum. if you want to make it prettier, you can:
.post img {
max-width:500px;
width:auto;
border:1px solid #000;
border-radius:.5em;
box-shadow: 0 0 15 #eee; /* or use green, red, blue, yellow, ect.. in place of the #eee */
}
and that is the way to do it in 2.0.xxxx, with any reliability.
Quote from: drewactual on August 28, 2019, 03:17:35 PM
your best bet in light of the tricky settings not working all the time if at all, is to use CSS...
in your stylesheet, add at the bottom:
.post img{
max-width:500px;
height:auto;
/*or enter the max width you want in pixels instead of 500 leaving the height auto
OR
defining the height and leaving the width auto
e.g
max-height:500px;
width:auto;
*/
}
play with the width or height until you're happy with the maximum. if you want to make it prettier, you can:
.post img {
max-width:500px;
width:auto;
border:1px solid #000;
border-radius:.5em;
box-shadow: 0 0 15 #eee; /* or use green, red, blue, yellow, ect.. in place of the #eee */
}
and that is the way to do it in 2.0.xxxx, with any reliability.
Thank you, I have no problem with style.
I'm talking about the size of the image I upload does not change the size I want
I want 1200X1200 but the image is loading in its size.
ah... that's a different animal altogether.
If you are referring to images included in posts with [img][/img] tags, you can resize them by setting max width/height in Admin -> Features and Options -> Layout. If you want to resize attachments, you can use this mod -
https://custom.simplemachines.org/mods/index.php?mod=2206
Quote from: Sir Osis of Liver on August 28, 2019, 09:06:43 PM
If you are referring to images included in posts with [img][/img] tags, you can resize them by setting max width/height in Admin -> Features and Options -> Layout. If you want to resize attachments, you can use this mod -
https://custom.simplemachines.org/mods/index.php?mod=2206
Although I make settings from the part you say, the pictures are loaded in the original size.
Do you think it could be because of exif pictures. previously exif images were not loaded
Are you talking about attachments or people using the img bbcode? The settings mentioned here are not for attachments.
Quote from: Arantor on August 29, 2019, 10:58:56 AM
Are you talking about attachments or people using the img bbcode? The settings mentioned here are not for attachments.
I'm talking about the pictures added to the plugin.
Plugin? Are you referring to a mod? Which mod?
Quote from: Sir Osis of Liver on August 29, 2019, 04:44:49 PM
Plugin? Are you referring to a mod? Which mod?
I'm not talking about mod. I'm talking about the default settings of smf.
Quote from: tarantula901 on August 29, 2019, 11:32:25 AM
I'm talking about the pictures added to the plugin.
Not understanding your question. :(
Quote from: tarantula901 on August 28, 2019, 04:24:58 PM
I want 1200X1200 but the image is loading in its size.
What exactly is the size of the image you're uploading? Also I'm assuming you're uploading by attaching the image to a post, is that correct?
The screenshot posted above is of an attachment. Attachments are not resized unless a mod is used to do that. You can specify a max size for thumbnails in attachment settings, but the attached image will be displayed full size when thumbnail is clicked. You can only resize it with a mod, or by editing code, which is obviously not a good idea in this case.
Also, images will **NOT** be resized "upward".
a 300x300 will nto be resized to 1200x1200 no matter what settings you use. The settings (and even the mod, afaik) set the MAX size.
Quote from: lurkalot on September 01, 2019, 06:16:46 AM
Quote from: tarantula901 on August 28, 2019, 04:24:58 PM
I want 1200X1200 but the image is loading in its size.
What exactly is the size of the image you're uploading? Also I'm assuming you're uploading by attaching the image to a post, is that correct?
The image size I uploaded is 4500x3500 so I want it to go above 1200x1200.
Quote from: Sir Osis of Liver on September 01, 2019, 04:50:18 PM
The screenshot posted above is of an attachment. Attachments are not resized unless a mod is used to do that. You can specify a max size for thumbnails in attachment settings, but the attached image will be displayed full size when thumbnail is clicked. You can only resize it with a mod, or by editing code, which is obviously not a good idea in this case.
I need to use which mode I want to resize when loading the picture.
Quote from: Kindred on September 02, 2019, 08:39:11 AM
Also, images will **NOT** be resized "upward".
a 300x300 will nto be resized to 1200x1200 no matter what settings you use. The settings (and even the mod, afaik) set the MAX size.
I want pictures that are 4500 x 3500 to be uploaded in the sizes I want. For example, 1200x1200
Don't know anything about this
Quote from: Sir Osis of Liver on August 28, 2019, 09:06:43 PM
If you want to resize attachments, you can use this mod -
https://custom.simplemachines.org/mods/index.php?mod=2206
Quote from: Sir Osis of Liver on September 01, 2019, 04:50:18 PM
Attachments are not resized unless a mod is used to do that. You can specify a max size for thumbnails in attachment settings, but the attached image will be displayed full size when thumbnail is clicked. You can only resize it with a mod.
We've answered your question several times. What is it you're not understanding?
Quote from: Sir Osis of Liver on September 04, 2019, 11:43:34 AM
Quote from: Sir Osis of Liver on August 28, 2019, 09:06:43 PM
If you want to resize attachments, you can use this mod -
https://custom.simplemachines.org/mods/index.php?mod=2206
Quote from: Sir Osis of Liver on September 01, 2019, 04:50:18 PM
Attachments are not resized unless a mod is used to do that. You can specify a max size for thumbnails in attachment settings, but the attached image will be displayed full size when thumbnail is clicked. You can only resize it with a mod.
We've answered your question several times. What is it you're not understanding?
Even though I do what you say, it doesn't work. I was using the mode you said you did not affect the subject had to open.
The mod adds settings to Admin -> Attachments and Avatars -> Attachment Settings. You have to set max width and height in the new settings.
You can solve this with a simple css code
.bbc_img {
max-width: 400px;
-webkit-transition: all 0.4s cubic-bezier(0.4, 0, 1, 1);
transition: all 0.4s cubic-bezier(0.4, 0, 1, 1);
}
.bbc_img:hover {
max-width: 100%
}
example (https://webtiryaki.com/index.php/topic,274.0.html)
Mouse point to picture.
gecitli -- you have not been reading the thread.... this user is not talking about the display of pictures IN a message with the BBS IMG tag. He's talking about attachments. WHat you suggested won't help.
And in this case, recommending code edits is probably not a good idea.
Quote from: Sir Osis of Liver on September 05, 2019, 05:53:57 PM
The mod adds settings to Admin -> Attachments and Avatars -> Attachment Settings. You have to set max width and height in the new settings.
I used the mode you said, but it does not resize pictures.
I solved my problem that exif pictures were not loading on the subject.
Couldn't the images be the size I want due to exif images?
The subject of my problem with exif.
https://www.simplemachines.org/community/index.php?topic=569381.msg4029304#msg4029304
Quote from: Sir Osis of Liver on September 06, 2019, 01:09:38 PM
And in this case, recommending code edits is probably not a good idea.
How else can we solve this problem?
Do you have a solution for this problem
The attachments resize mod does what you want. I've been running it on one of my production forums for over a year so members can upload large images from cameras and phones, works very well. Would need admin access to your forum to see if it is installed and configured correctly.
Quote from: Sir Osis of Liver on September 12, 2019, 06:24:03 PM
The attachments resize mod does what you want. I've been running it on one of my production forums for over a year so members can upload large images from cameras and phones, works very well. Would need admin access to your forum to see if it is installed and configured correctly.
Which mode are you talking about? I want the new downloadable pictures want the size I want.
if the image uploaded is smaller then that size it will not be resized.
Quote from: Sir Osis of Liver on August 28, 2019, 09:06:43 PM
If you are referring to images included in posts with [img][/img] tags, you can resize them by setting max width/height in Admin -> Features and Options -> Layout. If you want to resize attachments, you can use this mod -
https://custom.simplemachines.org/mods/index.php?mod=2206
do you have the mod listed above installed and configured?
Quote from: Illori on September 13, 2019, 10:17:20 AM
if the image uploaded is smaller then that size it will not be resized.
Quote from: Sir Osis of Liver on August 28, 2019, 09:06:43 PM
If you are referring to images included in posts with [img][/img] tags, you can resize them by setting max width/height in Admin -> Features and Options -> Layout. If you want to resize attachments, you can use this mod -
https://custom.simplemachines.org/mods/index.php?mod=2206
Unfortunately the smf settings you are saying do not apply to the plugin.
I used the set mode, but I can't set the size I want for newly uploaded images. The problem is how to resize these exif images in one of the exif images.
do you have the mod listed above installed and configured?
Don't know if that mod will work with files including EXIF data. You can try this one -
https://custom.simplemachines.org/mods/index.php?mod=4087
Can you attach an EXIF image file here?
Quote from: Sir Osis of Liver on September 13, 2019, 10:20:48 PM
Don't know if that mod will work with files including EXIF data. You can try this one -
https://custom.simplemachines.org/mods/index.php?mod=4087
Can you attach an EXIF image file here?
I used the set mode I have said.
I receive an "HTTP ERROR 500" error when I set width and height values under image size
I get an error when making Width and height values under image size "HTTP ERROR 500"
How can I solve this problem?
I want to make the size of the image I attached to the attachment 2048x2048, but it doesn't