Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Plugin • Lightbox Gallery 'MyGallery'
Goto page Previous  1, 2, 3 ... 9, 10, 11, 12  Next
 
Reply to topic    Forum Index » Additional Downloads View previous topic
View next topic
Plugin • Lightbox Gallery 'MyGallery'
Author Message
marcelvk



Joined: 19 Jun 2008
Posts: 14

Post Gallery question? Reply with quote
I have 2 questions:

First i am testing with cutenewsru and this gallery and i love it but
i was wondering and hoping if its possible and so yes how to add 1 gallery to a story and not the whole gallery


Last edited by marcelvk on Mon Jun 23, 2008 5:12 pm; edited 1 time in total
Thu Jun 19, 2008 10:15 pm View user's profile Send private message
Guest








Please login to hide the ads.

marcelvk



Joined: 19 Jun 2008
Posts: 14

Post Reply with quote
Sad can no one help me?
Mon Jun 23, 2008 5:11 pm View user's profile Send private message
Syrion



Joined: 02 Aug 2006
Posts: 172

Post Reply with quote
Do you mean a single image? Have you tried the internal image-uploader in CNR?

_________________
Mini-me
Mon Jun 23, 2008 8:26 pm View user's profile Send private message
marcelvk



Joined: 19 Jun 2008
Posts: 14

Post Reply with quote
No, i mean like:

i have a story and i want to insert
all the image in gallery A

Or even better would be
that i can pic categories like adding
a story
Mon Jun 23, 2008 8:29 pm View user's profile Send private message
Spoon



Joined: 02 Apr 2008
Posts: 42

Post Reply with quote
He has a few stories.
Story A, B, C and D.

Every story is on a different page.(this can be done with different categories)
What he wants to do is that Story A has a gallery. But that gallery can only be shown at stort A. And the same for the other three.
for example:

Story A
- Gallery A/1
- Gallery A/2
- enz
Story B
- Gallery B/1
- enz
Story C
- Gallery C/1
- Gallery C/2
- Gallery C/3
- enz
Story D
- Gallery D/1
- enz

@marcelvk ik help je wel hoor marcel Wink
Tue Jun 24, 2008 3:18 pm View user's profile Send private message
marcelvk



Joined: 19 Jun 2008
Posts: 14

Post Reply with quote
finnaly someone who understands me!!

only he can't help Laughing




@spoon dank je lepel Wink
Tue Jun 24, 2008 5:26 pm View user's profile Send private message
Spoon



Joined: 02 Apr 2008
Posts: 42

Post Reply with quote
i have an other problem.
The ligthbox effect doesnt work with me. I debugged the site with firefox and i got this as an error

the first
Code:
Fout: uncaught exception: script.aculo.us requires the Prototype JavaScript framework >= 1.4.0


the second
Code:
Fout: parent.initLytebox is not a function
Bronbestand: http://www.secondchain.nl/admin/pics.php
Regel: 1


can someone help me and Marcelvk Very Happy?
Wed Jun 25, 2008 8:20 am View user's profile Send private message
sidtheduck



Joined: 28 Mar 2008
Posts: 71

Post Reply with quote
Sorry I've been gone for awhile.

marcelvk wrote:
Sad can no one help me?
It isn't that easy to just insert a single album into a post at this point, marcelvk, unless your server allows URL wrappers for the PHP function file_get_contents. To use that, just add
Code:
<?php echo file_get_contents("http://www.yourdomain.com/mygallery/gallery.inc.php?mggal=2"); ?>
will display the 2nd album and link directly to your MyGallery installation (not to the embedded album in Cutenews). I'll see what I can do for future development to make it easier to include a single album.

---------------------------------------------------------------------------------------------------

Spoon wrote:
i have an other problem.
The ligthbox effect doesnt work with me. I debugged the site with firefox and i got this as an error


Regarding the lightbox stuff, it looks like the javascripts are not being loaded. I see that you linked to the scripts again, but you are missing a "/" in your prototype.js link. You have:
Code:
<script type="text/javascript" src="http://www.secondchain.nl/admin/plugins/mygallery/lightbox/jsprototype.js"></script>
<script type="text/javascript" src="http://www.secondchain.nl/admin/plugins/mygallery/lightbox/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="http://www.secondchain.nl/admin/plugins/mygallery/lightbox/js/lightbox.js"></script>
</head>

<body style="background-color:#333333" onLoad="parent.initLytebox();">

but they should be:
Code:
<script type="text/javascript" src="http://www.secondchain.nl/admin/plugins/mygallery/lightbox/js/prototype.js"></script>
<script type="text/javascript" src="http://www.secondchain.nl/admin/plugins/mygallery/lightbox/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="http://www.secondchain.nl/admin/plugins/mygallery/lightbox/js/lightbox.js"></script>
</head>

<body style="background-color:#333333" onLoad="parent.initLightbox();">

Wed Jul 02, 2008 1:06 am View user's profile Send private message
Spoon



Joined: 02 Apr 2008
Posts: 42

Post Reply with quote
wow... it took me a while to see the difference.
But i changed the link and it still doesnt work.

The feedback i get from firefox is this" onload parent init lightbox is not a function".
I dont know what i did wrong :S...

is there somebody with a working iframe mygallery that is willing to send me their code?
Thnx!
Thu Jul 03, 2008 8:02 am View user's profile Send private message
sidtheduck



Joined: 28 Mar 2008
Posts: 71

Post Reply with quote
Read my post above again, Spoon! Razz

You also have Lightbox spelled wrong. Your code reads:
Code:
onLoad="parent.initLytebox();"
when it should be:
Code:
onLoad="parent.initLightbox();"

Thu Jul 03, 2008 5:46 pm View user's profile Send private message
Superdok



Joined: 07 Feb 2008
Posts: 25

Post Reply with quote
Hi, i have one little question. Normally the Text under the Lightbox Image looks like this:

filename
Caption
Image x of x

Ex.:
Tree.jpg
This is a beautiful tree
Image 1 of 10

Is it possible to show it like this:

Caption
Image x of x

Ex.:
This is a beautiful tree
Image 1 of 10


So just remove the filename. I already tried it but i failed.


EDIT: Problem:
I have a problem with deleting pictures out of a gallery. I made two screenshoots so that you can see what i mean:
1.) Ill open my Gallery
2.) Everything is shown.
3.) I try to delete one picture out of a gallery: (I translated Mygallery to German AND im using the "old" version of the mygallery plugin



4.) After i press "Save Changes" the image is deleted BUT two new "images" are created. Both of them have the ending:
/plugins/mygallery/images/6/thumb_.nfs72CCF14

The two images look like this:
http://www.pictureupload.de/pictures/090708180429_Delete2.jpg


So whats wrong? I chmodded everyfile which is said in the tutorial to 777
Wed Jul 09, 2008 1:26 pm View user's profile Send private message
sidtheduck



Joined: 28 Mar 2008
Posts: 71

Post Reply with quote
Superdok,

Regarding the filename, you can just simply remove it from the title tag in your 'template.tpl' file. Look for something like:
Code:
<a href="{urlpicture}" <? if($mgConf['lightbox']){?>rel="lightbox[serie]"<? }?> title="<?=str_replace("thumb_", "", basename("{urlthumb}", ".jpg"));?></br>{captionpicture}" id="mgImage{cycle}"><img src="{urlthumb}" border="0" class="mgimgbrd"></a>
and remove the <?=str_replace("thumb_", "", basename("{urlthumb}", ".jpg"));?></br> from the title, like so:
Code:
<a href="{urlpicture}" <? if($mgConf['lightbox']){?>rel="lightbox[serie]"<? }?> title="{captionpicture}" id="mgImage{cycle}"><img src="{urlthumb}" border="0" class="mgimgbrd"></a>


Regarding the double images on delete, I have not run into that before. What are the filenames that you are trying to delete?
Thu Jul 17, 2008 11:44 pm View user's profile Send private message
Partyism



Joined: 25 Sep 2007
Posts: 268

Post Reply with quote
still a .zip file isnt working in the latest update. Max_file_size is 10mb, however when i upload a 1mb zip file is still says wrong file format!
Fri Jul 18, 2008 7:51 am View user's profile Send private message
Superdok



Joined: 07 Feb 2008
Posts: 25

Post Reply with quote
sidtheduck,

the filnames, which im trying to delete is for example thumb_3.jpg (Thumbnail) and 3.jpg (Big Picture)

may this problem be caused because of my hoster?

I think they are deleted after a while... So if i try to delete a picture, first the two pictures (e.g. thumb_.nfs2783054) are created. After 1 or 2 minutes everything works (the two buggy images are delted...)
Fri Jul 18, 2008 2:16 pm View user's profile Send private message
sidtheduck



Joined: 28 Mar 2008
Posts: 71

Post Reply with quote
Partyism wrote:
still a .zip file isnt working in the latest update. Max_file_size is 10mb, however when i upload a 1mb zip file is still says wrong file format!

Is your server set up to recognize MIME types of .zip files? And how are they recognized? You can find out by opening config.inc.php and looking for this line:
Code:
$mgConf['error']['badfile'] =       ">> Wrong file format!  Please select a .zip or .jpg file!";

and edit it to read:
Code:
$mgConf['error']['badfile'] =       ">> Wrong file format `".$_FILES['mgfile']['type']."`!  Please select a .zip or .jpg file!";

and then see what MIME format is output (should be something like ">> Wrong file format `application/octect_stream`! Please select a .zip or .jpg file!"

------------------------------------------------------------------------

Superdok,

I think it may be an issue with your host, especially if it goes away after a little while.
Fri Jul 18, 2008 10:27 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    Forum Index » Additional Downloads All times are GMT + 1 Hour
Goto page Previous  1, 2, 3 ... 9, 10, 11, 12  Next
Page 10 of 12

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.