News:

Want to get involved in developing SMF, then why not lend a hand on our github!

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

xxwckdxx


swtdivalove

I have an issue with image resizing...

I added an image that has 556px × 720px dimensions.

However, after uploaded and looking at it, it is now 450px x 450px which distorts the image.

jglonek

Hey, I just stumbled across this mod and installed it. I'm having a few issues.

Well, the issues are that I can see the Gallery link on the main page and the admin page in the default theme, but in the theme I'm using it doesnt show up.

Where do I check and in what files to fix that?

Dragooon

Search for adding custom tabs in custom themes, you'll find the answer. It is already answered quite a few times.

jglonek

#1204
Quote from: Dragooon on December 04, 2008, 11:46:07 AM
Search for adding custom tabs in custom themes, you'll find the answer. It is already answered quite a few times.
Alright, got that solved for the main page, thanks!

Where would I check for how to add to the admin list though?

Got that solved too. Had to edit my english php thing.

One last issue - I keep getting

8: Undefined index: mgallery_gallery
File: /home/rwjackso/public_html/gadvoutpost/Sources/MGallery-Admin.php
Line: 2258

In my error log.

How can I fix that?

EDIT: Fixed that too. I made MGallery-Admin.php require including my languages php file and it stopped asking

TeaTephi

#1205
Mod seems to be working fine, but there is no tab for "gallery".

I have tried various mods (like bookmarks, and flashchat)  but I could never get them to add a tab for those features.



Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Manuscript design by Bloc Page .






ok thanks
SMF 2.0.2 | TinyPortal 1.107 Veterans day theme Opera 11.50
Mods:Profile Comments.....AEVA Media 2.10.....Activity in profile.....join-reason....Bookmarks 2.3.....SA Chat    Beta 4-1 Rev43....Tapatalk SMF 2.0 RC4/RC5/Final Plugin    3.0.1.....SMFPacks Likes Lite Mod

Thank you guys for all your support and development that you do.  I love my forum, and am so thankful to have a place to ask my questions.  I do love SMF 2.0 it's smoother and all my members love it!

Dragooon


DirtRider

Quote from: TeaTephi on December 04, 2008, 12:13:05 PM
Mod seems to be working fine, but there is no tab for "gallery".

I have tried various mods (like bookmarks, and flashchat)  but I could never get them to add a tab for those features.



Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Manuscript design by Bloc Page .



Go to my gallery and create one for yourself and it should appear
http://www.triumphtalk.com

"The real question is not whether machines think but whether men do. "

jglonek

I have another question, not sure if I'm missing it somewhere.

Is it possible to restrict upload access on certain albums to only certain usergroups? If so, where would I set that at?

RustyBarnacle

Edit the album.  Each has its own membergroup settings.

jglonek

Quote from: RustyBarnacle on December 04, 2008, 12:39:54 PM
Edit the album.  Each has its own membergroup settings.

Well I see that. But is it for viewing or uploading? Because I want them to be viewable by all but restrict upload access

TeaTephi

I looked in the manuscript comments and it said the thread was more than 120 days old, that I should start a new thread.  There was nothing in there about adding tabs.
Another thread I read said I have to change index.template.php, but I still don't know what the edits are. 
Can someone post a link to a thread that gives the edit intstructions please?
Thanks
SMF 2.0.2 | TinyPortal 1.107 Veterans day theme Opera 11.50
Mods:Profile Comments.....AEVA Media 2.10.....Activity in profile.....join-reason....Bookmarks 2.3.....SA Chat    Beta 4-1 Rev43....Tapatalk SMF 2.0 RC4/RC5/Final Plugin    3.0.1.....SMFPacks Likes Lite Mod

Thank you guys for all your support and development that you do.  I love my forum, and am so thankful to have a place to ask my questions.  I do love SMF 2.0 it's smoother and all my members love it!

Nao 尚

Quote from: jglonek on December 04, 2008, 12:46:32 PM
Quote from: RustyBarnacle on December 04, 2008, 12:39:54 PM
Edit the album.  Each has its own membergroup settings.

Well I see that. But is it for viewing or uploading? Because I want them to be viewable by all but restrict upload access
The permissions system in SMG is very powerful. As a result, it's also very, very complicated to use for people who are not used to permissions.

Adding even more permissions *per albums* would be pure madness.
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

swtdivalove

Quote from: swtdivalove on December 04, 2008, 10:20:12 AM
I have an issue with image resizing...

I added an image that has 556px × 720px dimensions.

However, after uploaded and looking at it, it is now 450px x 450px which distorts the image.

I know... I know... no bumping...  Got my tabs added fine, but still attempting to figure out why my images are getting distorted to 450px x 450px instead of the actual image size or a constrained image size.

Nao 尚

Are you sure your image isn't corrupted? 450x450 is the fallback when getSize() on the picture returns 0x0... (getSize is a function that will retrieve dimensions... It's built in PHP.)

I agree that it should be a 4/3 format to improve odds of not distorting a picture, though... Something like 600x450.
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

xxwckdxx

is there any way to make the user albums on the same page as the general albums?

xxwckdxx

also just realized when i added a icon to a gallery it knocked out all the "folder" icons i moved the photos to another gallery and deleted the one i added a the icon too and still no folder icons

http://www.cockerspanielpad.com/smf/index.php?action=mgallery

swtdivalove

#1217
Quote from: Nao 尚 on December 04, 2008, 07:29:28 PM
Are you sure your image isn't corrupted? 450x450 is the fallback when getSize() on the picture returns 0x0... (getSize is a function that will retrieve dimensions... It's built in PHP.)

I agree that it should be a 4/3 format to improve odds of not distorting a picture, though... Something like 600x450.

Yes, I am quite sure the image isn't corrupted.  I'll test another graphic and see what happens.

Just tried it again, and yes... It was an image that was 1280px × 720px, and it resized it to 450px to 450px.

Burke ♞ Knight

Sometimes, a file can open up on your own pc, and even on some other places, yet still be corrupt enough to not display correctly in other areas.

swtdivalove

two different graphics and it did the same thing.

Advertisement: