Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Template Shares (http://www.bvlist.com/forumdisplay.php?f=26)
-   -   .jpeg image format (http://www.bvlist.com/showthread.php?t=7939)

SpEnSeR 16th May 2012 09:59

.jpeg image format
 
Hello mates,

ANy help please... I noticed that when I added a poster of the torrent containing .jpeg image format.. it is not allowed... and in the torrent description.. .jpeg image format will not show..

Any help? on how to make it work? or where im going to add it on the code.. :unknown:

Im using TS 5.6 nightcrawler...

Help Help Help.. Thanks in advances mates..

x360zone 16th May 2012 10:13

hi
 
yes jpeg does work upload a jpeg to tiny pic to host your own to test

SpEnSeR 16th May 2012 10:20

Thanks for the fast reply mate.. yes mate, it will work once i will upload it to my sites image hosting or I will just convert it to jpg,gif or png..

But its a lot of work for me to edit and convert the images since im using janhouse autouploader and my download tracker is from iptorrents.. and they mostly used the jpeg format..

So, if any help.. I hope I can get to work .jpeg format in my site... Please help on how to get it work.. Thank you mate! :cool:

mmisu120000 18th May 2012 21:01

It's not hard ... look in takeupload.php for :
PHP Code:

$upload->allowed_ext = array ('gif''jpg''png'); 

or something like that ... and replace with:
PHP Code:

$upload->allowed_ext = array ('gif''jpg''png''jpeg'); 

and find:
PHP Code:

$handle->allowed = array ('image/gif''image/jpg''image/jpeg'); 

and replace with:
PHP Code:

$handle->allowed = array ('image/gif''image/jpg''image/jpeg''image/png'); 

......


and in takeedit.php find:
PHP Code:

$upload->allowed_ext = array ('gif''jpg''png'); 

and replace with:
PHP Code:

$upload->allowed_ext = array ('gif''jpg''png''jpeg'); 

and find:
PHP Code:

$handle->allowed = array ('image/gif''image/jpg''image/jpeg'); 

and replace with:

PHP Code:

$handle->allowed = array ('image/gif''image/jpg''image/jpeg''image/png'); 

This should do it ...

SpEnSeR 20th May 2012 00:57

Thank You!
 
Hello mate mmis...

Thanks a lot now it works..

but I think we miss something..

the only .jpeg format that wont work is in the torrent details/description..

example:

""[img] http://lookpic.com/O/t2/1596/9NBMAgyV.jpeg [/img]

I put spaces so that code will showup here not the image.. if using the bbcode .jpeg format is not working in the torrent details..

that will not show mate. Hope you can also help me about that.

Thanks a lot :drink:


All times are GMT +2. The time now is 05:04.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.