vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Social Group and Album Enhancements - PB Watermark Album images (https://vborg.vbsupport.ru/showthread.php?t=182884)

Mr.samy 06-22-2008 10:50 PM

After i install it .... and try to upload animated photo ... i see the plugins put the watermark on it but the photo become not animated and stop from work

balance12 06-23-2008 09:29 PM

I upgrade it, and work grate with massive uploads, but it shows me different Size of watermark.. you upload an albun it shows you great, the other shows it shorter.. then good.....

One good one smaller....

What could it be?

xxalexkimxx 06-23-2008 10:04 PM

Quote:

Originally Posted by 7lanet (Post 1553015)
I Upload img type gif , JPEG

It show msg

change the all image type to LOWER CASE

RLShare 06-23-2008 10:41 PM

Quote:

Originally Posted by Mr.samy (Post 1556381)
After i install it .... and try to upload animated photo ... i see the plugins put the watermark on it but the photo become not animated and stop from work

Im working with the GD imaging library for PHP and it does not support animated GIFS. I might look into adding support for animated GIFs myself in the future but that will not be until after I work on getting the other features I want done.


Quote:

Originally Posted by balance12 (Post 1557220)
I upgrade it, and work grate with massive uploads, but it shows me different Size of watermark.. you upload an albun it shows you great, the other shows it shorter.. then good.....

One good one smaller....

What could it be?

The only reason I could think of is that Your uploading images that are larger then the max size, VB will automatically resize images that are larger then the Max size and my code applies watermarks to the images that get uploaded before VB processes them. So Im guessing that my code is adding the watermark, then VB is shrinking the image after making it look like the watermark is of a different size.

7lanet 06-25-2008 06:03 AM

in 3.7.2

Fatal error: Out of memory (allocated 22806528) (tried to allocate 8192 bytes) in /home/joker/public_html/vb/includes/functions_album.php on line 40

ErnieTheMilk 06-25-2008 07:24 AM

I keep getting some error messages on upload :(

Warning: imagecreatefrompng(watermark.png) [function.imagecreatefrompng]: failed to open stream: No such file or directory in [path]/album.php(795) : eval()'d code on line 1

Fatal error: Call to undefined function: imagecreatefromfile() in ....... on line 6

I've uploaded everything as suggested...... Its a great mod, hope it can get sorted as I'd love to use it!

RLShare 06-25-2008 02:25 PM

Quote:

Originally Posted by ErnieTheMilk (Post 1558356)
I keep getting some error messages on upload :(

Warning: imagecreatefrompng(watermark.png) [function.imagecreatefrompng]: failed to open stream: No such file or directory in [path]/album.php(795) : eval()'d code on line 1

Fatal error: Call to undefined function: imagecreatefromfile() in ....... on line 6

I've uploaded everything as suggested...... Its a great mod, hope it can get sorted as I'd love to use it!

You either messed up putting the functions in the functions_album.php file or you did not put the functions in that file.


Quote:

Originally Posted by 7lanet (Post 1558302)
in 3.7.2

Fatal error: Out of memory (allocated 22806528) (tried to allocate 8192 bytes) in /home/joker/public_html/vb/includes/functions_album.php on line 40

I have not upgraded to 3.7.2 yet, when I do I will look into this.

ErnieTheMilk 06-25-2008 02:34 PM

Quote:

Originally Posted by RLShare (Post 1558643)
You either messed up putting the functions in the functions_album.php file or you did not put the functions in that file.

Thats a great help, thanks. I know I'm stupid, but I do know how to copy & paste into a file that you actually name!

The only problem I had was where to put it as you said right after the vBulletin copyright notice. Well, I found one, right at the top of the file - I assume that's where you meant it to go :confused: :rolleyes:

RLShare 06-25-2008 11:03 PM

Quote:

Originally Posted by ErnieTheMilk (Post 1558654)
Thats a great help, thanks. I know I'm stupid, but I do know how to copy & paste into a file that you actually name!

The only problem I had was where to put it as you said right after the vBulletin copyright notice. Well, I found one, right at the top of the file - I assume that's where you meant it to go :confused: :rolleyes:

This is an image someone posted earlier in this thread.. It shows how the top of the file functions_album.php should look after you paste the functions in.

http://img337.imageshack.us/img337/3...nctionssf6.png

The top part is the copyright notice I mentioned pasting the code in after.

ErnieTheMilk 06-26-2008 05:49 AM

That's where I originally posted it... and it didn't work

However, I have to say after perserverance, and popping it in different places, I managed to get it to work! The code did go further down the page tho!

Now if you could just sort out the watermark scale issue on differing sized photos :D


All times are GMT. The time now is 06:26 PM.

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.01256 seconds
  • Memory Usage 1,744KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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