vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Image Cache (https://vborg.vbsupport.ru/showthread.php?t=123338)

Focus2 04-14-2010 12:24 PM

Quote:

Originally Posted by Bill from Cleve (Post 1919697)
Is there a way I can make it NOT cache images in the .PNG format? The problem is, it caches them as .PNG's, but they are actually JPG's and GIF's. This causes watermarking apps to fail because they don't understand the format.
I have tried pretty much every single option for watermarking including the .HTACCESS, but non work with this option enabled. I really love the image cache and do not want to disable it.

Is there any easy way to convert the PNG's back to the original formats without killing anything?

Further edit of file will keep the original extension:

Code:

// Create filename
            $ext = end(explode('.', ($files[$i]['url'])));
            $kd = "imgcache/" . date("m_Y");
                        if (!is_dir($kd)){
                        mkdir($kd , 0777);
                        $filename = $kd . '/index.html';
                        $Content = "Restricted Access\r\n";
                        $handle = fopen($filename, 'x+');
                        fwrite($handle, $Content);
                        fclose($handle);
                                    }
            $f = $kd . '/' . sprintf('%d', $id) . '.' . $ext;


ThomasR 04-14-2010 12:40 PM

Focus2: thanks a lot for your edits!!

rubke 04-15-2010 06:58 AM

feature request(s):

- exclude some (sub)forums from caching.
- a scan and remove of unused images
- a scan and update of images

home9000 11-05-2010 04:58 AM

Quote:

Originally Posted by Bill from Cleve (Post 1919697)
Is there a way I can make it NOT cache images in the .PNG format? The problem is, it caches them as .PNG's, but they are actually JPG's and GIF's. This causes watermarking apps to fail because they don't understand the format.
I have tried pretty much every single option for watermarking including the .HTACCESS, but non work with this option enabled. I really love the image cache and do not want to disable it.

Is there any easy way to convert the PNG's back to the original formats without killing anything?

What is the watermarking apps that you use

Manoel J?nior 11-06-2010 03:36 PM

Please,

Watermark!!!

y2ksw 11-07-2010 04:10 PM

For all users who have asked for an equivalent of this product for vBulletin 4, here it is.

Please try and enjoy :)

Manoel J?nior 11-07-2010 04:45 PM

@y2ksw:

I have vB 3.6.8 wor for me!!! But, you can implement watermark this version?

y2ksw 11-08-2010 08:22 AM

Quote:

Originally Posted by Manoel J?nior (Post 2119106)
@y2ksw:

I have vB 3.6.8 wor for me!!! But, you can implement watermark this version?

I suggest to download the images, watermark and upload them back.

Watermarking is beyond the features of image caching :)

Manoel J?nior 11-08-2010 10:13 PM

Quote:

Originally Posted by y2ksw (Post 2119396)
I suggest to download the images, watermark and upload them back.

Watermarking is beyond the features of image caching :)

Thanks, for feedback!

home9000 11-14-2010 04:40 PM

Is it possible to put the userId or member name part of the file name of the image


All times are GMT. The time now is 11:35 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.01288 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (4)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