Author Topic: [1.7.8] Check new images - thumbnail not saved if already existed.  (Read 26747 times)

0 Members and 1 Guest are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
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:

	
	
	
	
	
$image_media_file_backup $image_media_file;
	
	
	
	
	
$image_thumb_file "";


Replace with:
	
	
	
	
	
$image_media_file_backup $image_media_file;



P.S.
thanks to denisnovikov for finding the cause of this bug.
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)

Offline zakaria666

  • Full Member
  • ***
  • Posts: 211
    • View Profile
Re: [1.7.8] Check new images - thumbnail not saved if already existed.
« 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 = "";

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.808
  • I ♥ 4I
    • View Profile
Re: [1.7.8] Check new images - thumbnail not saved if already existed.
« Reply #2 on: August 21, 2010, 05:41:00 PM »
Sind ja nun mehr Fehler vorhanden XD

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [1.7.8] Check new images - thumbnail not saved if already existed.
« 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
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)

Offline zakaria666

  • Full Member
  • ***
  • Posts: 211
    • View Profile
Re: [1.7.8] Check new images - thumbnail not saved if already existed.
« Reply #4 on: August 21, 2010, 08:45:25 PM »
Vano plz help man u r the only 1 with the knowlegde please

Offline lexus1717

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [1.7.8] Check new images - thumbnail not saved if already existed.
« Reply #5 on: February 08, 2011, 01:14:52 PM »
Hey dude,i think this is not the complete code..

Lexus