News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SMF Media Gallery (SMG) - 2.0.5 is out! (December 2)

Started by SMGTeam, September 09, 2008, 03:14:05 PM

Previous topic - Next topic

PfalzNacht

Now i translated it completely into german utf8, and now it works all fine.

Özgür

My server is open to safemod.  And taking longer to regenerate video (embed) thumbnails.

Is there a way to accelerate this?
So Long

Dragooon

It usually takes 1 second to generate one thumbnail. And I recommend safe-mode to be off.

Akyhne

Just tested in an old forum that has been upgraded all the way from SMF 1.1.4 and now running 1.1.8. No issues what so ever. The only "issue" I had: Once I mass uploaded some files, it took a while for the thumbs in the mass upload window to show (up to ten seconds each). But the server I'm running the forum on is sometimes slow.
It was actually some small Babylon buttons I uploaded (1kb each). I then tried some 800*600 images for mass uploading. Then the images came right away.

If you are running IE, you can actually see if the page is not done uploading everything (in this case the thumbnails), in the left lower corner. It's a little allmost unvisible text. Maybe that's the issue some people are having - just a slow server.

Dragooon

@Images not showing issue
Try this one
Open MGallery.php(This would be at the end).
Code (Find) Select
if (filesize($path) > 1572864)
{
if ($file = fopen($path, 'rb'))
{
while (!feof($file))
{
echo @fread($file, 8192);
flush();
}
@fclose($file);
}
else
die('Something went wrong...');
}
elseif (@readfile($path) == null)
die('Something went wrong...');

Code (Replace) Select
if (filesize($path) > 1572864 || @readfile($path) == null)
{
if ($file = fopen($path, 'rb'))
{
while (!feof($file))
{
echo @fread($file, 8192);
flush();
}
@fclose($file);
}
else
die('Something went wrong...');
}

And if this works, tell your host to get a brain.

Dragooon

Also make sure to clear your browser's cache after applying that fix.

amg944

Hi,

I tried the fix
"@Images not showing issue
Try this one
Open MGallery.php(This would be at the end)."

And it didn't work.
As a recap.
I was running fine on SMF 1.1.7 and SMF Media 1.5.2 with close to 3,000 pics loaded and Slideshow.
I upgraded to SMF 1.1.8 without problems.
I created another albums => no problems
I tried to load pics in the album => no pics would load
I uninstall Slideshow then Media 1.5.2
I installed Media 1.5.4 => thumbnails don't show, tried to run "Find errors" => no errors reported
I tried to regenerate thumbnails => error
"Error, file not found! (/homepages/17/d172373739/htdocs/forum/mgal_data/albums/Porsches_et_autres_belles_!/Dir_1/528__MG_1733_4_5_jpge604e555384b40a1ec6fd3ec0322ee4e_extjpg)"
Uninstall 1.5.4 then re-install 1.5.2 => same error

Please help! If you want an FTP access, I'll PM one.

The site is hxxp:www.rennsport.ca/forum/index.php?action=mgallery [nonactive]

Tx.


nosferatu

Sorry. Still not working. It does still work in the default theme though where I can see the recent item preview perfectly. It's just in the ApolloBB theme.
There's a certain joy in being mad that only madmen know

PfalzNacht

Is there an option to use the last 5 pictures on an custom site with SSI?

Dragooon

Quote from: amg944 on February 09, 2009, 11:04:20 AM
Hi,

I tried the fix
"@Images not showing issue
Try this one
Open MGallery.php(This would be at the end)."

And it didn't work.
As a recap.
I was running fine on SMF 1.1.7 and SMF Media 1.5.2 with close to 3,000 pics loaded and Slideshow.
I upgraded to SMF 1.1.8 without problems.
I created another albums => no problems
I tried to load pics in the album => no pics would load
I uninstall Slideshow then Media 1.5.2
I installed Media 1.5.4 => thumbnails don't show, tried to run "Find errors" => no errors reported
I tried to regenerate thumbnails => error
"Error, file not found! (/homepages/17/d172373739/htdocs/forum/mgal_data/albums/Porsches_et_autres_belles_!/Dir_1/528__MG_1733_4_5_jpge604e555384b40a1ec6fd3ec0322ee4e_extjpg)"
Uninstall 1.5.4 then re-install 1.5.2 => same error

Please help! If you want an FTP access, I'll PM one.

The site is http://www.rennsport.ca/forum/index.php?action=mgallery

Tx.


Tried clearing your browser's cache? Can you enable guest access?

amg944

Quote from: Dragooon on February 09, 2009, 11:15:26 AM
Quote from: amg944 on February 09, 2009, 11:04:20 AM
Hi,

I tried the fix
"@Images not showing issue
Try this one
Open MGallery.php(This would be at the end)."

And it didn't work.
As a recap.
I was running fine on SMF 1.1.7 and SMF Media 1.5.2 with close to 3,000 pics loaded and Slideshow.
I upgraded to SMF 1.1.8 without problems.
I created another albums => no problems
I tried to load pics in the album => no pics would load
I uninstall Slideshow then Media 1.5.2
I installed Media 1.5.4 => thumbnails don't show, tried to run "Find errors" => no errors reported
I tried to regenerate thumbnails => error
"Error, file not found! (/homepages/17/d172373739/htdocs/forum/mgal_data/albums/Porsches_et_autres_belles_!/Dir_1/528__MG_1733_4_5_jpge604e555384b40a1ec6fd3ec0322ee4e_extjpg)"
Uninstall 1.5.4 then re-install 1.5.2 => same error

Please help! If you want an FTP access, I'll PM one.

The site is hxxp:www.rennsport.ca/forum/index.php?action=mgallery [nonactive]

Tx.


Tried clearing your browser's cache? Can you enable guest access?
Yes, I cleared the cache and I sent you an email with the accesses.
Tx.

Dragooon

Quote from: amg944 on February 09, 2009, 11:22:22 AM
Quote from: Dragooon on February 09, 2009, 11:15:26 AM
Quote from: amg944 on February 09, 2009, 11:04:20 AM
Hi,

I tried the fix
"@Images not showing issue
Try this one
Open MGallery.php(This would be at the end)."

And it didn't work.
As a recap.
I was running fine on SMF 1.1.7 and SMF Media 1.5.2 with close to 3,000 pics loaded and Slideshow.
I upgraded to SMF 1.1.8 without problems.
I created another albums => no problems
I tried to load pics in the album => no pics would load
I uninstall Slideshow then Media 1.5.2
I installed Media 1.5.4 => thumbnails don't show, tried to run "Find errors" => no errors reported
I tried to regenerate thumbnails => error
"Error, file not found! (/homepages/17/d172373739/htdocs/forum/mgal_data/albums/Porsches_et_autres_belles_!/Dir_1/528__MG_1733_4_5_jpge604e555384b40a1ec6fd3ec0322ee4e_extjpg)"
Uninstall 1.5.4 then re-install 1.5.2 => same error

Please help! If you want an FTP access, I'll PM one.

The site is http://www.rennsport.ca/forum/index.php?action=mgallery

Tx.


Tried clearing your browser's cache? Can you enable guest access?
Yes, I cleared the cache and I sent you an email with the accesses.
Tx.

Eh..Your gallery works fine to me?

Janet Merai

I replaced that code in Mgallery.php, works fine now, thank you for the hard work :D

qubbah

i have a backup file like backup_smf_mgallery_albums.
how can i restore it ?

Dragooon

Quote from: Dragooon on February 09, 2009, 11:46:39 AM
Quote from: amg944 on February 09, 2009, 11:22:22 AM
Quote from: Dragooon on February 09, 2009, 11:15:26 AM
Quote from: amg944 on February 09, 2009, 11:04:20 AM
Hi,

I tried the fix
"@Images not showing issue
Try this one
Open MGallery.php(This would be at the end)."

And it didn't work.
As a recap.
I was running fine on SMF 1.1.7 and SMF Media 1.5.2 with close to 3,000 pics loaded and Slideshow.
I upgraded to SMF 1.1.8 without problems.
I created another albums => no problems
I tried to load pics in the album => no pics would load
I uninstall Slideshow then Media 1.5.2
I installed Media 1.5.4 => thumbnails don't show, tried to run "Find errors" => no errors reported
I tried to regenerate thumbnails => error
"Error, file not found! (/homepages/17/d172373739/htdocs/forum/mgal_data/albums/Porsches_et_autres_belles_!/Dir_1/528__MG_1733_4_5_jpge604e555384b40a1ec6fd3ec0322ee4e_extjpg)"
Uninstall 1.5.4 then re-install 1.5.2 => same error

Please help! If you want an FTP access, I'll PM one.

The site is http://www.rennsport.ca/forum/index.php?action=mgallery

Tx.


Tried clearing your browser's cache? Can you enable guest access?
Yes, I cleared the cache and I sent you an email with the accesses.
Tx.

Eh..Your gallery works fine to me?
Your issue is not with the image's not displayed, you're gallery is screwed up as in mgal_data is not chmodded to 777 as well as its sub-albums and it is not able to create the album's folders. You ned to flush your gallery out and start all over again, make sure that you chmod mgal_data and its sub-folders to 777.

@qubbah - what are you talking about?

amg944

Sorry,

how do I "chmod mgal_data and its sub-folders to 777"

Tx.

Dragooon

Its a file permission system, see How do I chmod? / what is chmod?. Unfortunately, you'll be needing to start the gallery again.

amg944

Quote from: Dragooon on February 09, 2009, 12:03:55 PM
Its a file permission system, see How do I chmod? / what is chmod?. Unfortunately, you'll be needing to start the gallery again.
Hi Dragoon,

well, I guess I'll start over.

Tx for your help.

Ciao.

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

cwd1031

I was hoping someone could point me in the right direction if possible. Love the mod and all the great work and features you guys continue to add, and support you give us.
I sometimes host large video files. Upwards of 150 megs. When you go to the gallery enter the video section i've made, and see the video you want. Sometimes on larger files it seems it's locking up. Is this because the video size is too large? Or do you think it's because the video is trying to auto play? If its autoplay, is there a way to stop this?  That way the person can decided if they want to play or download the video?  Any ideas to lead me in the right direction would be greatly appreciated  Thx Christian :)

Advertisement: