4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
June 24, 2018, 08:06:00 PM

Login with username, password and session length
Search:     Advanced search
Check the new Tutorial subforum with helpfull guides and tutorials for modifications and tweaks.
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Help / Hilfe
| |-+  Bug Fixes & Patches
| | |-+  [1.7.8] Check new images - thumbnail not saved if already existed.
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: [1.7.8] Check new images - thumbnail not saved if already existed.  (Read 20251 times)
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 576

mmm PHP...


View Profile WWW
« on: August 18, 2010, 03:24:12 AM »

When images AND thumbnails uploaded via FTP and then used ACP (Admin Control Panel) -> Check new images, images will be added into 4images without thumbnails.

In admin/checkimages.php find:

1
2
	
	
	
	
	
$image_media_file_backup $image_media_file;
	
	
	
	
	
$image_thumb_file "";

Replace with:
1
	
	
	
	
	
$image_media_file_backup $image_media_file;


P.S.
thanks to denisnovikov for finding the cause of this bug.
Logged

Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)
zakaria666
Full Member
***
Offline Offline

Posts: 211

Thank You
-Given: 55
-Receive: 2


View Profile
« Reply #1 on: August 21, 2010, 02:50:20 PM »

i cannot seem to find the code u r mentioning VAno,

this is only part of code i can find $image_media_file_backup = $image_media_file; but not $image_thumb_file = "";
Logged
Sumale.my
Addicted member
******
Offline Offline

Posts: 1771

Thank You
-Given: 168
-Receive: 84

Neverdie


View Profile
« Reply #2 on: August 21, 2010, 05:41:00 PM »

Sind ja nun mehr Fehler vorhanden XD
Logged
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 576

mmm PHP...


View Profile WWW
« Reply #3 on: August 21, 2010, 08:26:17 PM »

i cannot seem to find the code u r mentioning VAno,

this is only part of code i can find $image_media_file_backup = $image_media_file; but not $image_thumb_file = "";
This is only for unmodified v1.7.8
Logged

Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)
zakaria666
Full Member
***
Offline Offline

Posts: 211

Thank You
-Given: 55
-Receive: 2


View Profile
« Reply #4 on: August 21, 2010, 08:45:25 PM »

Vano plz help man u r the only 1 with the knowlegde please
Logged
lexus1717
Pre-Newbie

Offline Offline

Posts: 1

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #5 on: February 08, 2011, 01:14:52 PM »

Hey dude,i think this is not the complete code..

Lexus
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.193 seconds with 19 queries.
Post your comments here