Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares
Reply
  #1  
Old 16th May 2012, 09:59
SpEnSeR SpEnSeR is offline
Senior Member
 
Join Date: Nov 2011
P2P
Posts: 48
Question .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..
Reply With Quote
  #2  
Old 16th May 2012, 10:13
x360zone's Avatar
x360zone x360zone is offline
Senior Member
 
Join Date: Jul 2011
United Kingdom
Posts: 915
Default hi
yes jpeg does work upload a jpeg to tiny pic to host your own to test
__________________

7.5 tsse
future tracker source & hosting, vps
trackers installs + Themes
http://www.foxyhosting.co.uk
http://www.downmy.top testing zone
offshore vps & cpanel hosting & Shoutcast & VPN
STOP cyberbullying
any setups tracker installs vps hosting vps setups themes mods hit me up
over the last three months ive become a snake breeder,pythons,hogs,boa,corn,rat,king,carpet and what joy it is


Reply With Quote
  #3  
Old 16th May 2012, 10:20
SpEnSeR SpEnSeR is offline
Senior Member
 
Join Date: Nov 2011
P2P
Posts: 48
Default
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!
Reply With Quote
  #4  
Old 18th May 2012, 21:01
mmisu120000's Avatar
mmisu120000 mmisu120000 is offline
Senior Member
 
Join Date: Jun 2009
P2P
Posts: 202
Default
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 ...
__________________
"How terrible is wisdom when it holds no benefit for the wise?" - Louis Cypher
WDW Tracker - Using heavy modified TSSE
Reply With Quote
The Following User Says Thank You to mmisu120000 For This Useful Post:
Marco (17th July 2012)
  #5  
Old 20th May 2012, 00:57
SpEnSeR SpEnSeR is offline
Senior Member
 
Join Date: Nov 2011
P2P
Posts: 48
Default 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
Reply With Quote
Reply

Tags
format , image , jpeg

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 11:58. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.