Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 282
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 281
Total: 281

Author Topic: Full size pictures going beyond the theme template.  (Read 5808 times)

0 Members and 1 Guest are viewing this topic.

Offline gibbs

  • Member
  • *
  • Posts: 33
  • Using SMF Gallery and Classifieds
    • View Profile
Full size pictures going beyond the theme template.
« on: January 08, 2007, 04:35:55 pm »
Just another small issue here.

When a user submits a photo into one of my categories, I have set the category to post a full size picture into a board on the forum. Works a treat.

However, when I look at the post it created, the picture is way out of the bounds of the frame.

I do have a work around for this:
If I edit the post and then save it, the picture gets resized to be inside the frame.

I am guessing here, but there must be something in the post.template.php that tells a post to display an image as a certain maximum size. Something that is not present in the gallery post submission php? Or am I way off?  ::) ;D

Thanks for any advice.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Full size pictures going beyond the theme template.
« Reply #1 on: January 08, 2007, 04:42:39 pm »
If you edit the post can you see what bbc code it added to the image? Did it add any image size information?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline gibbs

  • Member
  • *
  • Posts: 33
  • Using SMF Gallery and Classifieds
    • View Profile
Re: Full size pictures going beyond the theme template.
« Reply #2 on: January 08, 2007, 06:28:02 pm »
I edited the post again and it simply says the same as before. No extra BBC tags.

Just the usual IMG tags

Offline gibbs

  • Member
  • *
  • Posts: 33
  • Using SMF Gallery and Classifieds
    • View Profile
Re: Full size pictures going beyond the theme template.
« Reply #3 on: January 08, 2007, 06:52:50 pm »
Ah hold on. I just switched back to the default theme and tried the following:

Upload a photo as a user.
The topic was created, the picture had a scroll bar to view the oversized image.
I edited the topic and clicked save.
The picture shrunk nicely to the desired size.

I edited the topic again and found it had inserted these tags:


So all that is needed is for the Gallery to insert these tags when it creates the post?

It seems as if the Gallery bypasses the Admin --> Forum --> Attachments and Avatars --> Attachment Settings --> Resize images when showing under posts: check box.
« Last Edit: January 08, 2007, 06:59:16 pm by gibbs »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Full size pictures going beyond the theme template.
« Reply #4 on: January 08, 2007, 07:43:13 pm »
Fixed for 1.2
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
5 Replies
8048 Views
Last post November 25, 2007, 01:21:15 pm
by SMFHacks
3 Replies
5774 Views
Last post November 25, 2009, 07:28:34 pm
by SMFHacks
0 Replies
3157 Views
Last post June 25, 2011, 05:58:22 pm
by bruno
2 Replies
2273 Views
Last post September 09, 2017, 06:40:12 pm
by Sockratease
1 Replies
2373 Views
Last post January 22, 2018, 08:03:37 pm
by SMFHacks

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal