News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Image Size?

Started by CheeseHead05, June 03, 2013, 12:18:44 AM

Previous topic - Next topic

CheeseHead05

Without using any modifications, what is the size of a pic that fits half the post area or bigger than this picture and in the admin area, where is located? And how do I get rid of the paperclip?

Thanks in advance!

Antechinus

You'll need to hack the template to get rid of the paperclip.

For image sizing, it will depend on screen size. Half the post area on which screen? Desktop? Phone?

You can adapt the CSS from this post if you want to: http://www.simplemachines.org/community/index.php?topic=505050.0

CheeseHead05

Is there a mod that you recommend using that will make an attachment larger to fit half the post size (as in halfway of the lines between each posts as seen here)? Or a mod that removes the paperclip?

When you click the link below, check out the attachments..how do I get mines like this as far as size?

http://solecollector.com/forums/OFFICIAL-WDYWT-MAY-2013-thread/92:7:1130489/

kat

If you go to Admin>Attachments and avatars>Attachment Settings you'll see, at the bottom, "Maximum width of thumbnails" and "Maximum height of thumbnails".

Try increasing those. But, I believe that will only affect new attachments, not existing ones.

CheeseHead05

Quote from: Antechinus on June 03, 2013, 12:47:48 AM
You'll need to hack the template to get rid of the paperclip.

For image sizing, it will depend on screen size. Half the post area on which screen? Desktop? Phone?

You can adapt the CSS from this post if you want to: http://www.simplemachines.org/community/index.php?topic=505050.0

So Antechinus,

So, attach your code directly under the last code line in the css, right? What does it technically do? Will all the attachments be the same size (which is fine with me)? What will i have to do in the Admin panel when I do use this?

Chalky


TheListener


shadow82x

...and to remove the paper clip its a simple template edit

Just remove the follow bit in Display.template.php
<img src="' . $settings['images_url'] . '/icons/clip.gif" align="middle" alt="*" />
Colin B
Former Spammer, Customize, & Support Team Member

CheeseHead05

Thanks alot shadow, but besides the paperclip removal, will it remove the discription next to it as well?

Quote from: ChalkCat on June 04, 2013, 08:06:34 PM
I like the Inline Attachments mod myself  ;)

ChalkCat,

What is the difference between the Inline Attachments and what Antechinus is suggesting (as fas as the CSS) option?

Chalky

Antechinus' showed you how to remove the paperclip image.  The ILA mod allows images to be inserted anywhere within the post, literally "inline" and with the option to display the full image, a thumbnail that expands when clicked, etc.  :)

Advertisement: