vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Social Group and Album Enhancements - Watermark Generator (https://vborg.vbsupport.ru/showthread.php?t=263804)

BadgerDog 06-01-2011 10:14 PM

Another follow up ... :)

I think I found a pattern with the grey bars, but it doesn't make any sense. It seems to only happen, at least on our site, with pics that are very large when expanded to full size, from their small thumbnail. I don't mean size as in bytes, but rather size as in HxW dimensions.

Regards,
Doug

Disasterpiece 06-02-2011 12:32 AM

Quote:

Originally Posted by BadgerDog (Post 2202499)
Another follow up ... :)

I think I found a pattern with the grey bars, but it doesn't make any sense. It seems to only happen, at least on our site, with pics that are very large when expanded to full size, from their small thumbnail. I don't mean size as in bytes, but rather size as in HxW dimensions.

Regards,
Doug

I couldn't yet find the reason to this behaviour, it seems to be webserver-specific... still working on it.

BadgerDog 06-02-2011 10:06 AM

Quote:

Originally Posted by Disasterpiece (Post 2202527)
... still working on it.

Roger that .. :)

Thanks .. :up:

Regards,
Doug

BadgerDog 06-03-2011 03:09 PM

1 Attachment(s)
Update ... :)

Did so more research and there's definitely a pattern of only grey bars appearing for pics over a certain HxW ...

For example, it seemed to be working fine on recent uploads, then a member just added 3 pics that are 1279px ? 959px, they display fine, however, all three have a grey bar across the bottom.

I noticed that another member immediately afterwards uploaded some pic attachments that were less than 1024x768 and the watermarks show just fine on them ...

Hope that helps debug things ... :up:

Regards,
Doug

Edit: I've added another example that shows how large pics seem to a factor in triggering the grey bar. The pic attached is one a member just uploaded as an attachment and it's 2448px ? 2958px (scaled by vBulletin for internal storage to 532px ? 643px).

demo7up 06-09-2011 02:07 PM

Quote:

Originally Posted by demo7up@gmail.c (Post 2199783)
i dont use id's in my url's

this is the error

Invalid SQL:

SELECT a.contenttypeid
FROM attachment AS a
WHERE a.attachmentid = 2006-I-drive-a-eg-4-door;

MySQL Error : Unknown column 'I' in 'where clause'
Error Number : 1054
Request Date : Wednesday, May 25th 2011 @ 08:14:14 AM
Error Date : Wednesday, May 25th 2011 @ 08:14:14 AM
Script : http://nycjdm.com/testattachments.ph...ve-a-eg-4-door
Referrer :
IP Address : 24.136.115.58
Username : XXX
Classname : XXX
MySQL Version : 5.0.92-community

Did you ever get to work on this issue.. I would really like to use this on my website....?

Disasterpiece 06-09-2011 03:45 PM

1 Attachment(s)
Quote:

Originally Posted by demo7up@gmail.c (Post 2205470)
Did you ever get to work on this issue.. I would really like to use this on my website....?

Working on it right now.

The thing is... The url "http://nycjdm.com/testattachments.php?i1=2006-I-drive-a-eg-4-door" seems to be completely wrong.
Did you enter it by yourself? Because that's not the way it was intended, maybe you misunderstood the parameter?
Or did the script redirect you to this url?

Lets say you browse your album, you should find the id even with seo urls enabled. Check the screenshot where to find it:
Attachment 129906
You'd then enter the id into the test url like this:

http://nycjdm.com/testattachments.php?i1=13

This way, the test script will use the image with id 13 for the testing.

demo7up 06-09-2011 04:00 PM

Quote:

Originally Posted by Disasterpiece (Post 2205485)
Working on it right now.

The thing is... The url "http://nycjdm.com/testattachments.php?i1=2006-I-drive-a-eg-4-door" seems to be completely wrong.
Did you enter it by yourself? Because that's not the way it was intended, maybe you misunderstood the parameter?
Or did the script redirect you to this url?

Lets say you browse your album, you should find the id even with seo urls enabled. Check the screenshot where to find it:
Attachment 129906
You'd then enter the id into the test url like this:

http://nycjdm.com/testattachments.php?i1=13

This way, the test script will use the image with id 13 for the testing.

Okay i understand now.. i redid it and i got this error

Failed @ 114

Disasterpiece 06-09-2011 04:17 PM

Just updated with Version 1.1 which should fix a few problems


Quote:

Okay i understand now.. i redid it and i got this error

Failed @ 114
Open the testattachments.php with a texteditor, search for the line
PHP Code:

if (!$res) die("Failed @ 114"); 

replace it with:
PHP Code:

if ($res === FALSE) die("Failed @ 114"); 

and run again. Then report back if it still fails at the same error.

demo7up 06-09-2011 04:48 PM

working perfectly thanks so much!!!

Disasterpiece 06-09-2011 04:50 PM

You mean the new version works now? or the test script?

wut? :D


All times are GMT. The time now is 01:44 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01346 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete