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 29. Mar 2024, 00:49

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  [ 63 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: Links und Thumbnail
PostPosted: 7. Jul 2015, 10:19 
Offline

Joined: 14. May 2015, 19:21
Posts: 58
TinyWebGallery wrote:
Ab Zeile 205 in der info.php.

Evtl. must du den seo Teil an der Stelle entfernen, da das dann etwas komplizierter ist wenn du das Original Bild nimmst.

Wenn du die Detailbilder willst die der twg_type=small

Gruß, Michael


also das twg_type=thumb hab ich zu twg_type=small geändert, jetzt fehl nur noch der seo-teil, was muss ich da rausnehmen? aber wenn ich auf info gehe, dann schau dies immer noch so aus:

Code:
[url=http://www.xxx.de/twg23/index.php?twg_album=Jasmin82&twg_show=img038_ed001.jpg][img]http://www.xxx.de/twg23/./cache/Jasmin82/img038_ed001.jpg.thumb.jpg[/img][/url]


ich hätte es gern so:

Code:
[img]http://www.xxx.de/twg23/user82/img038_ed001.jpg[/img]


Top
 Profile  
 
 Post subject: Re: Links und Thumbnail
PostPosted: 7. Jul 2015, 17:44 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
du willst also auf das origninal bild?

Dann must du dir
$img = $t_root . $twg_root . $basedir . "/" . $twg_album . "/" . $image_enc;

zusammenbauen. Schau mal, ob das oben für dich schon reicht...

Gruß, Michael


Top
 Profile  
 
 Post subject: Re: Links und Thumbnail
PostPosted: 8. Jul 2015, 22:36 
Offline

Joined: 14. May 2015, 19:21
Posts: 58
iwie geht das nicht... sind ja auch zwei $img dort in der info...


Top
 Profile  
 
 Post subject: Re: Links und Thumbnail
PostPosted: 8. Jul 2015, 23:30 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Klar sind da 2. Eines, wenn die Cache Datei schon existiert und eine wenn nicht.
Aber du willst ja auf das Original. Drum must du da drunter halt korrekt zusammenbauen.


Top
 Profile  
 
 Post subject: Re: Links und Thumbnail
PostPosted: 9. Jul 2015, 14:17 
Offline

Joined: 14. May 2015, 19:21
Posts: 58
da muss ich mich ja in deine arbeitsweise und struktur reindenken, dies kostet... :D thx


Top
 Profile  
 
 Post subject: Re: Links und Thumbnail
PostPosted: 11. Jul 2015, 21:01 
Offline

Joined: 14. May 2015, 19:21
Posts: 58
[php]$img = $t_root . $twg_root . "/" .$twg_album . "/" . $image_enc;[/php]

so dies ist die untere zeile.

[php]<tr class="gray"><td class="fileinfoleftbottom">BBCode</td><td class="fileinforightbottom"><input style="border:none;" type="text" value="[img]<?php%20echo%20$img;%20?>[/img]" size=22/></td></tr>
[/php]

jedoch taucht dann im bbcode das auf:

Code:
[img]http://www.xxx.de/twg23/index.php/user/cats.jpg[/img]


aber soll halt so aussehen:

Code:
[img]http://www.xxx.de/twg23/pictures/user/cats.jpg[/img]


bzw. so geht es, aber halt hardgecodet:

$img = $t_root . "/twg23/pictures" . "/" . $twg_album . "/" . $image_enc;


Top
 Profile  
 
 Post subject: Re: Links und Thumbnail
PostPosted: 11. Jul 2015, 21:15 
Offline

Joined: 14. May 2015, 19:21
Posts: 58
edit


Top
 Profile  
 
 Post subject: Re: Links und Thumbnail
PostPosted: 12. Jul 2015, 22:13 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Dann ist das ja o.k. :).


Top
 Profile  
 
 Post subject: Re: Links und Thumbnail
PostPosted: 16. Jul 2015, 00:06 
Offline

Joined: 14. May 2015, 19:21
Posts: 58
joar. wie kann ich die bilder in der galerie auf eine vorgegene größe skalieren lassen?


Top
 Profile  
 
 Post subject: Re: Links und Thumbnail
PostPosted: 16. Jul 2015, 00:31 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Es gibt thumbnails, small und die originale. Und die beiden ersten kannst du in der Konfig ja einstellen.

Gruß, Michael


Top
 Profile  
 
 Post subject: Re: Links und Thumbnail
PostPosted: 26. Aug 2015, 14:24 
Offline

Joined: 14. May 2015, 19:21
Posts: 58
$img = $t_root . "/twg23/pictures" . "/" . $twg_album . "/" . $image_enc;

also hatte ich das ja gemacht, damit ein bbcode zum original entsteht. dies geht auch. aber ich habe festgestellt, wenn der dateiname des bildes ein leerzeichen enthält, dann ersetzt twg dies mit einem + in der info und logischerweise wird es dann nicht angezeigt, erst wenn man das plus löscht. wo ist hier der fehler? danke


Top
 Profile  
 
 Post subject: Re: Links und Thumbnail
PostPosted: 26. Aug 2015, 18:39 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Das Bild ist encodiert. Nim $image anstatt $image_enc wenn du das ändern willst.

Gruß,
Michael


Top
 Profile  
 
 Post subject: Re: Links und Thumbnail
PostPosted: 29. Aug 2015, 04:57 
Offline

Joined: 14. May 2015, 19:21
Posts: 58
thx


Top
 Profile  
 
 Post subject: Re: Links und Thumbnail
PostPosted: 6. Sep 2015, 14:20 
Offline

Joined: 14. May 2015, 19:21
Posts: 58
tfu_helper.php, line 2157: filesize(): stat failed for _FILE_NOT_FOUND

datei nicht gefunden, klar... aber woraus resultiert dies... grübel...


Top
 Profile  
 
 Post subject: Re: Links und Thumbnail
PostPosted: 6. Sep 2015, 15:57 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Es versucht die Größe zu ermitteln von einer Datei, die es nicht gibt.
Denke da ist noch wo ein encodiertungs/Pfadproblem.

Du kannst dir ja an der stelle mit
tfu_debug($file);
Den Dateinamen ausgeben. Der kommt dann ins log file.

Gruß,
Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 63 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 40 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