I have problem with image on locahost (wamp). All images are blank.
what I can say is :
- image are sucessfully created after upload (I can see them apear durinng this process)
- when I try to display an image (http://localhost/path/_admin/tn128s4.jpg), firefox return “The image cannot be displayed because it contains errors”.
- Http status is 200 ok for all images.
Thank’s for help and sorry for bad english
thx for purchasing SGM
could you take a look into /data/1/128/ -> directories s3 and s4
are there valid images?
Yes, image are here and display correctly if open directly in browser
could you contact me via my den – would be easier for us?
we have to make some temporary changes to the tn.php
Finally, I found the problem. In tn.php this line return an error and corrupt image file.
$mbg = $_REQUEST[“mbg”];
Notice: Undefined index: mbg in C:\wamp\www\path\galerie-photo\tn.php on line 7
Fixed with this at file start :
sounds good, happy SGMing
I should consider this in the next update
All is going well now.. changing things.. addapting others..
I can´t see how make the top right dropdwon works displaying the galleries with links to each one. $gal_options .. where i can set gal_options to true??
I´m trying to do something simple :
from the home page.. or from each gallery, make links to the other galleries created dynamically. I think the dropdown is for that, but never show the galleries :(/
the $gal_options in the galleries is the list of galleries which are assigned via the control panel
if you like to view all galleries, and not only the assigned one you have to modify the sql query
in example for the prettyphoto gallery (gal01.php) find the sql query in line ~55 and replace the where id in …. to the end of the line with where status = 1 order by title”;
if you need the exact query please contact me via my den or email (can be found in the readme)
Hi again.How can i change the max file size for uploading?By default it’s 7mb.
in the conf you can set the value for the SGM max upload size ($max_file_size)
but if your PHP -settings didn’t allow this value the value will be recalculated
take a look at php.ini’s
php_value post_max_size 50M
php_value upload_max_filesize 50M
I hope I could helpmac
I had a question and got direct support. Great script, thanks!
I was glad to help,
I really like SGM. I have made some considerable changes because of how I would like to use the gallery. Here are a few questions that would help me continue to move forward.
As an admin is there any other way to view a users uploaded files without creating a gallery?
Why is it that if I do a database insert to the user record with these fields(user, email, pass, status to activate the user profile), that I cant login in with that same user ID afterwards? Is it because the password that I insert is not encrypted? I am trying to create a database trigger so that when another table is updated a record will be inserted into the user table.
thx for purchasing SGM
> As an admin is there any other way to view a users uploaded files without creating a gallery?
not implemented, but sure there could be ways
> Why is it that if I do a database insert to the user record with these fields(user, email, pass, status to activate the user profile), that I cant login in with that same user ID afterwards? Is it because the password that I insert is not encrypted?
to insert an user youe need as mentioned by you values for user, pass, email, status, created and max_img (if you like to use more than 500)
passwords are encrypted by mysql’s internal password function
pass = password('yourPass')
created = now()
status = 1, act_on = now()
this would be a query w/o the need of activation for the user flystock with the password supersecret
insert into `[YourSGMPrefix]users` set user = 'flystock', pass = password('supersecret'), email = 'firstname.lastname@example.org', max_img = '1500', created = now(), status = 1, act_on = now()";
I am having trouble viewing the images that are uploaded. I can go to the directory where the images were uploaded and see the images(ie. /data/1/128/ -> directories s3 and s4). The upload works fine but when I look in the image manager to view the images its blank. I think it has something to do with the tn.php file and I made the <? php error_reporting(0); change to that file and still no luck. Can you help?
did it ever work for you?
you could comment the header(... line in the tn.php to start debugging – or send me the link to your installation to take an external look
No unfortunately the insert of the error_reporting code never worked. Im not sure which line of code to comment out for the header. I will send you the live link for an external look via email if that ok?
this is a presale questions. I like the plugin and i believe it will work well for me video gallery. I have about 40 videos in a local server. I do not want to use vimeo or youtube. The videos are .mov h264 but i can encode them in any other format swf, mp4 wmv. Does this plugin support video playback from the local server? What specs do the video have to be to play in all browsers and iOS 5,6. Please let me know.
I wanted to test the plugin and i upload a file http://envato.homac.at/demos/SimpleGM/_admin/~53
The file is a quicktime, mov, h264 but it does not play on Safari 5.1.7 and iOS6, Plays fine on Firefox and Chrome. Please advise
thanks for reporting, will check out later this day
I think I got it – it’s not in the downloadpackage – but you can test it in the demo
If you’ve bought the item please sent me a message via my den and I’d send you one file and one line to change in the .htaccess
I’ll add this in one of the next updates, if I got the time
What was the answer of the question from “planetjoin”?
planetjoin – Purchased
11 months ago
I just bought the gallery.. AWESOME But.. i can´t install it I have the knowledge.. i installed LOT of system.. etc. but something is wrong
I changed the conf.php I changed htaccess putting as RewriteBase /gallery/ (i´m trying to install it on www.mydomain.com/gallery/)
When i go to www.mydomain.com/gallery/setup.php i got ALWAYS this message :
Database-connection failed, please use the correct data for your database in the conf.php.
I tested the connection parameters.. are OK Even, i tried creating the tables manually.. nothing. always i get that.
What I´m doing wrong?
I think i have the same problem. I work with xampp offline.
> .htaccess >
> conf.php >
$db_host = “localhost/multi-gallery/”;
$db_user = “admin”;
$db_pass = “pass”;
$db_name = “SIT”;
$tb_prefix = “sgm31_”;
$conf_admin_mail = “email@example.com”;
$conf_support_mail = “firstname.lastname@example.org”;
$conf_company_name = “mycompanyname”;
there was no answer, he solved the problem immediate after the post (see the next post of him), but the answer would have been something like, please check the database credentials, they can’t be right
back to your troubles:
the hostname is the name of the database server and never contains any slashes – it could be an IP-Adress or a hostname (with or w/o domain) – localhost is a hostname too
please try localhost as db_host
hope it worksmac
hi, thanks for your fast answere
now i have changed:
.htaccess > RewriteEngine on /multi-gallery/gallery-images
conf.php > $db_host = “localhost”;
and it doesn’t work
I dont want the other gallery`s, just this one without the backend but with all files (
Quicktime Movies MOV
Quicktime Movies M4V/MP4 since 2.0
Flash Animations SWF
Flash Movies FLV
DiVX Movies AVI/DIVX
MP3 Audio MP3 since 2.0
YouTube Links since 2.0
Vimeo Links since 3.1)
and for all devices.
can i download this one piece of your gallery machine somewhere?
i hope you can help, thx so much
has the setup finished now creating the database table structure successful?
it doesn’t work
what’s the error message(s)?
No, i dont think so.
>The error message: Database-connection failed,
please use the correct data for your database in the conf.php.
>My browser URL: http://localhost/multi-gallery/setup.php
>My win. explorer path: C:\xampp\htdocs\multi-gallery
>My conf.php: $db_host = “localhost”; $db_user = “admin”; $db_pass = “pass”; $db_name = “SIT”; $tb_prefix = “sgm31_”;
>My htaccssess: RewriteEngine on /multi-gallery/
thx 4 helping
please check the database credentials, they can’t be right or the database server isn’t running
is the user of your database really admin and the password of your mysql database really pass?
I do not have something login data for xampp. The Controlpanel is everytime running (Apache, MySQL, FileZilla, Mercury, Tomcat).
AH okay, thats the problem… i never was work with this database backend, only i use Notepad++ and the filezilla programm for my stuff.
now i got an user, an password and an database name. SGM – it Works!!! Now i just waiting for the email – “Error: Your account is deactivated.”.
but i am not glad with this… for my work i only need the simple one Gallery. i want only change the design and writing a xml for the files. like a Quick gallery for our webpage. :/
thanks for helping your question was helpful. Thanks Mac
the mail function is an essential and basic part of a php installation
I thjink you didn’t setup the mail function of your “webserver” – but you’re able to activate users as an admin in the “Gallery Control Panel”
but if you just like to create the xml files and the html output you could use the admin user equaly
It works, thanks!
glad to hear
do you have a sample of where you are using vimeo video on the supersize slideshow?
there’re only images supported by the supersized galleries
upped and ready to download
thanks for updating! great product support!
I love so much your SGM
but something I’m doing wrong because I get this message in the setup:
“Database galeria_sgm not found or no rights for access.”
I think the credentials to access my other hosting databases are correct, but I’ve found that has not yet created the SGM database.
What can be happening?
the setup routine doesn’t create the database itself – it needs an existing database, so please create first a database (i.e. called galeria_sgm) with the desired credentials and use these information for your conf
I hope I could help
Perfect. It works great.
I will continue setting it.
Thank you very much for your quick and accurate response.
Is there an uploader for users? Will the gallery update if the server folder is populated with more images? What I need is something I or the users don’t have to configure before viewing. Thanks.
> Is there an uploader for users?
> Will the gallery update if the server folder is populated with more images?
no, uploaded images has to be added to galleries afterwards in the admin area – the galleries are not directory based
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Unlimited downloads only
$29 p/m on Envato Elements
Download over 18,000 items now
Learn almost anything with
Envato Tuts+ for free
9000 free tutorials, 3000 paid courses
Designers matched perfectly to
you on Envato Studio
2000 artists ready to undertake your work