Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 19. Apr 2024, 08:41

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Frames
PostPosted: 24. Feb 2010, 11:36 
Offline
User avatar

Joined: 20. May 2009, 11:46
Posts: 38
Hi,

I am trying to get my gallery to show inside a wrapper on my Joomla site here:

http://www.anyhowracing.co.uk/web/index ... &Itemid=11

Just a couple of questions.

1. Is there any way to remove some of the options across the top (the login, upload etc) or place them on seperate lines?

2. For some reason, the light box feature no longer seems to be working, but if you view only the relevant frame (ie the standalone twg) then it works fine. Do you know how i can fix this?

3. When you use the upload it doesnt fit in the gap. Is there a way i can get this smaller or allow it to come out of the i frame and expand across the rest of the site? or should i revert to an alternative html uploader etc?

Also, on an aside now, sometimes i get reports of users getting the following message at the bottom of the gallery:

Fatal error: Out of memory (allocated 31981568) (tried to allocate 46 bytes) in Unknown on line 0

Do you know how i can stop this?

Cheers

Simon

_________________
Simon Tickle
www.anyhowracing.co.uk


Top
 Profile  
 
 Post subject:
PostPosted: 24. Feb 2010, 13:52 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
1. in the config - you can enable/ disable everything.

2. read the howto about the lightbox - you have to include the css of the lihtbox to your main page

3. the one in the frontend? you would have to change this in the code of the iframe.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 24. Feb 2010, 14:13 
Offline
User avatar

Joined: 20. May 2009, 11:46
Posts: 38
Hi Michael,

Thanks for your quick response. Ive had a look through the config and removed the ones i dont want now!

I just had a look at the lightbox howto and it uses a rel link. Can you go back with a rel link? The reason i ask is that my main site isnt in the root, but the structure is as follows:

http://mydomain.com/web (for the main site)
http://mydomain.com/twg (for gallery)

and im wanting to put the gallery in the wrapper in the main. When i put the relative link in my main site header, it is trying to find

http://mydomain.com/web/twg/lightbox/lytebox.css which doesnt exist!

Also, with the upload iframe, which bit do i need to change? In the code below, i tried changing the

<table summary='' style="width: 100%; height:100%" cellpadding

too a smaller % but this didnt make much difference. I also changed the size of the SWF like:

"mymovie", "650", "340", "8", "#ffffff");

to

"mymovie", "400", "200", "8", "#ffffff");

but this cut the right hand side and not the left, which made the situation worse.? I am changing the right section?

Code:
$default_language .= "&session_id=" . session_id();
session_write_close();
?>
<table summary='' style="width: 100%; height:100%" cellpadding='0' cellspacing='0'><tr><td class="closebutton">
<img name="imageField" alt='' onClick="closeiframe()" align="right" src="../buttons/close.gif" width="12" height="12" border="0" />
</td></tr><tr><td>
<center>
<script type="text/javascript" src="../js/swfobject.js"></script>
   <div id="flashcontent"><div class="noflash">TWG Flash Uploader requires at least Flash 8.<br>Please update your browser.</div></div>
   <script type="text/javascript">
      var so = new SWFObject("../admin/upload/tfu_210.swf?base=../admin/upload/&lang=<?php echo $default_language; ?>", "mymovie", "650", "340", "8", "#ffffff");
     so.addParam("scale","noScale");
     so.addParam("allowfullscreen","true");
     so.write("flashcontent");
   </script>


Thanks for your help,

Simon[/code]

_________________
Simon Tickle
www.anyhowracing.co.uk


Top
 Profile  
 
 Post subject:
PostPosted: 25. Feb 2010, 21:21 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
use an absolute path to the css.

problem with the upload is that you have to change the iframe as well.
look where the i_upload.php is called and change the javascriptcall which is opening the iframe.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 26. Feb 2010, 10:08 
Offline
User avatar

Joined: 20. May 2009, 11:46
Posts: 38
Hi,

Ive now made the link absolute and put:

<link rel="stylesheet" href="http://www.anyhowracing.co.uk/twg/lightbox/lytebox.css" type="text/css" media="screen">


in my head. Is that right? It still doesnt seem to be working?

Simon

_________________
Simon Tickle
www.anyhowracing.co.uk


Top
 Profile  
 
 Post subject:
PostPosted: 26. Feb 2010, 18:37 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you have it in the main frame wrapper. you have to put it into this file:

http://www.anyhowracing.co.uk/web/index ... &Itemid=11

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 27. Feb 2010, 10:00 
Offline
User avatar

Joined: 20. May 2009, 11:46
Posts: 38
Thanks for your help. I've asked on the joomla forum how i do this because im not sure! Hopefully, it will be working soon! Thankyou.

_________________
Simon Tickle
www.anyhowracing.co.uk


Top
 Profile  
 
 Post subject:
PostPosted: 8. Mar 2010, 13:58 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
use the wrapper for Joomla that comes with TWG: mod_twg_J1.5.x.zip

There I already include the css for the lightbox.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 11. Mar 2010, 12:07 
Offline
User avatar

Joined: 20. May 2009, 11:46
Posts: 38
Hi Michael,

Thanks for all your responses. Over the last few weeks, ive been working on a new design for the site because i was becoming more annoyed with Joomla since i felt i had less control easily. Therefore, i have now coded it myself. However, for some reason the lightbox still doesnt seem to work. There is only one file gallery??.htm (??=year) that loads the iframe, and i have put

<link rel="stylesheet" href="#removed_broken_link" type="text/css" media="screen" />

in its head. But, the lightbox still doesnt load. Ive tried it in FF, IE and Opera.

Sorry that i keep asking, but this is one of my favourite features!

Cheers

Simon.

_________________
Simon Tickle
www.anyhowracing.co.uk


Top
 Profile  
 
 Post subject:
PostPosted: 11. Mar 2010, 12:10 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
do you get any Javascript errors?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 11. Mar 2010, 16:01 
Offline
User avatar

Joined: 20. May 2009, 11:46
Posts: 38
No. The debug file is empty also. If i open full size it loads the image.php directly and doesnt show a lightbox.

_________________
Simon Tickle
www.anyhowracing.co.uk


Top
 Profile  
 
 Post subject:
PostPosted: 11. Mar 2010, 19:02 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
add www to the

#removed_broken_link

because otherwise it is a different domain and then the access is not allowed.
call your site without the www and then it works.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 11. Mar 2010, 19:18 
Offline
User avatar

Joined: 20. May 2009, 11:46
Posts: 38
Perfect, Thanks!

_________________
Simon Tickle
www.anyhowracing.co.uk


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 22 guests


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 post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy