Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 175
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 163
Total: 163

Author Topic: Problem With Auto Generated Posts (Thumbnails)  (Read 4967 times)

0 Members and 1 Guest are viewing this topic.

Offline aiwazz

  • Member
  • *
  • Posts: 13
    • View Profile
Problem With Auto Generated Posts (Thumbnails)
« on: September 23, 2008, 02:38:14 am »
Hi, thanks again for your work! So, i stated this in the other thread but thought I would post here as it seems the appropriate forum. When a forum post is auto generated from the gallery it sends the thumbnail to the post with the images original size entered in the img bbcode, so you end up with a 2000 pixel wide (or whatever) thumbnail in the post. Could I get some assistance with this please? I guess this might be a problem on my end? Am i missing a setting? Thank you!

And as a feature request: Medium sized images in the auto generated post, and maybe even option to spit that exif with it too!!! ;)

I love this gallery, great work!  :)
« Last Edit: September 23, 2008, 02:39:50 am by aiwazz »

Offline aiwazz

  • Member
  • *
  • Posts: 13
    • View Profile
Re: Problem With Auto Generated Posts (Thumbnails)
« Reply #1 on: September 23, 2008, 05:57:30 pm »
OK, obviously not of importance among all the other work to be done, but I would like to resolve this. I have done a workaround by installing an auto image resizer for the board and having it send fullsize pics to the post, but now the fact it sends the dimension data in the bbcode even for fullsize to the post overrides the image resizer. ARRRRGH. Please, can i just be told what php to edit to stop the dimension data from getting entered in the bbcode?

Please.

Thank you.

I will now start looking on my own.

Offline aiwazz

  • Member
  • *
  • Posts: 13
    • View Profile
Re: Problem With Auto Generated Posts (Thumbnails)
« Reply #2 on: September 23, 2008, 06:13:36 pm »
Found the line in gallery.php and resolved the issue.

Code: [Select]
'body' => '[b]' . $title . "[/b]\n\n[img]" . $modSettings['gallery_url']  . $extrafolder . $postimg . "[/img]$showpostlink\n\n$description",
Now my fullsize image goes to post without dimension data and nCode image resizer resizes to set dimension.  :)

EXIF barfing to post would be nice some day.  ;)

EDIT2: Oh sorry, i will edit my posts for updates in future instead of new posts.
« Last Edit: September 23, 2008, 06:31:02 pm by aiwazz »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Problem With Auto Generated Posts (Thumbnails)
« Reply #3 on: September 23, 2008, 07:14:07 pm »
Hmm. Might be a good idea to take out that image height width in the bbccode forgot what was the reason I added there.

Exif data in post sounds good too.
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
3 Replies
5959 Views
Last post January 19, 2007, 03:17:27 pm
by SMFHacks
7 Replies
10444 Views
Last post November 16, 2008, 07:43:40 pm
by SMFHacks
4 Replies
5217 Views
Last post March 29, 2010, 11:10:13 pm
by SMFHacks
2 Replies
3731 Views
Last post September 17, 2011, 06:05:10 pm
by VividViews
9 Replies
3694 Views
Last post August 27, 2017, 04:49:15 am
by Sockratease

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

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

Powered by EzPortal