Pic Upload works but pics are not displayed

Upload screen shots for display in Roster

Moderator: Ulminia

Pic Upload works but pics are not displayed

Postby TheVorhaut » Wed Jun 04, 2008 1:58 am

My uploaded images are not shown on the web site although the upload process seems to work correctly. There is just the picture frame on the website with the description. The image itself incl. thumbnail is not shown.

See also my 4 screenshots I made from this issue.
Attachments
TheVorhaut
WR.net Apprentice
WR.net Apprentice
 
Posts: 21
Joined: Tue Jun 05, 2007 6:46 pm

Re: Pic Upload works but pics are not displayed

Postby Gator81 » Wed Jun 04, 2008 4:03 am

mine has done the same thing, i havnt had much more time to work on this but i have tried to also do this with smaller size images around 50k in size and resized to smaller images too....
Gator81
WR.net Journeyman
WR.net Journeyman
 
Posts: 115
Joined: Fri Jun 01, 2007 4:44 am

Re: Pic Upload works but pics are not displayed

Postby TheVorhaut » Thu Jun 05, 2008 12:16 pm

Gator81, yes I tried smaller images, too. The problem has nothing to do with that.
So I hope somebody knows the root cause of this problem... ?
TheVorhaut
WR.net Apprentice
WR.net Apprentice
 
Posts: 21
Joined: Tue Jun 05, 2007 6:46 pm

Re: Pic Upload works but pics are not displayed

Postby Gator81 » Fri Jun 06, 2008 4:40 am

I was just throwing out ideas, nothing in stone...but if you do find the answer let me know, I have had no luck with this too.
Gator81
WR.net Journeyman
WR.net Journeyman
 
Posts: 115
Joined: Fri Jun 01, 2007 4:44 am

Pic Upload works but pics are not displayed

Postby Ulminia » Fri Jun 20, 2008 10:12 am

whats the website address so i may look at the code and see whats happaning
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Re: Pic Upload works but pics are not displayed

Postby TheVorhaut » Fri Jun 20, 2008 12:44 pm

Ulminia, the URL is http://bellicosus.be.funpic.de/ . It is in German. Just click on "Gildeninfo" and then you will see the WoWRoster where one can click on the "RosterGallery" icon.
The direct URL is http://bellicosus.be.funpic.de/index.ph ... terGallery .
TheVorhaut
WR.net Apprentice
WR.net Apprentice
 
Posts: 21
Joined: Tue Jun 05, 2007 6:46 pm

Re: Pic Upload works but pics are not displayed

Postby tuigii » Fri Jun 20, 2008 4:32 pm

Example : your main site logo on the roster page.
Code: Select all
<a href="http://bellicosus.be.funpic.de/"><img src="img/wowroster_logo.jpg" alt="" hspace="0" vspace="0" style="border:0;" /></a>


Your main roster logo has a image URL path, img/.
But the default path from where the roster is called isn't it's root but some other site directory. So all relative paths are wrong.
This is know when you integrate the roster as a whole in another CMS.

Somehow, the roster can't detect its own root.

What might help, is: goto the main CP page, and find these:
Interface Verzeichnis URL
and
Roster Bilder Verzeichnis URL
Place before the img/ path the relatif part from your root-site directory.

But this more a patch.
The CMS that calls your roster has to be modified, or its setup concerning the "roster module".
Last edited by tuigii on Fri Jun 20, 2008 4:37 pm, edited 1 time in total.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Re: Pic Upload works but pics are not displayed

Postby TheVorhaut » Fri Jun 20, 2008 6:25 pm

Tuigii,
I checked the Roster settings and there is not only the /img/ path but the full relative path already:
/components/com_wowroster/img/

The full path is:
http://bellicosus.be.funpic.de/components/com_wowroster/img/

As a result I do not know what to change there in the settings ?
Attachments
TheVorhaut
WR.net Apprentice
WR.net Apprentice
 
Posts: 21
Joined: Tue Jun 05, 2007 6:46 pm

Pic Upload works but pics are not displayed

Postby Ulminia » Fri Jun 20, 2008 7:48 pm

this setting for the Rosters main directory is a issue i will resolve in my next release because ime images are coded to pull from the addons folder thinking the roster is the pase url for the addon not ported in a cms app try this fix

Find line 17 & 18 in the index.php file in the RosterGallery folder edit it and replace them with this

Code: Select all
$imgdir = ROSTER_BASE.'addons/RosterGallery/screenshots/';
$imgdirthumb = ROSTER_BASE.'addons/RosterGallery/screenshots/thumbs/';


and this should fix the images not showing also i will be adding a txt limit to the size of the title of a screenshoot and try to make it wrap or somthing

Cheers Ulminia
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Re: Pic Upload works but pics are not displayed

Postby tuigii » Fri Jun 20, 2008 8:09 pm

Ulminia wrote:
Code: Select all
$imgdir = ROSTER_BASE.'addons/RosterGallery/screenshots/';
$imgdirthumb = ROSTER_BASE.'addons/RosterGallery/screenshots/thumbs/';


Is this ok / possible ?
Code: Select all
$imgdir = $addon['dir'].'screenshots/';
$imgdirthumb = $addon['dir'].'screenshots/thumbs/';
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Pic Upload works but pics are not displayed

Postby zanix » Fri Jun 20, 2008 9:29 pm

Yes tuigii, your way is the best
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Pic Upload works but pics are not displayed

Postby Ulminia » Fri Jun 20, 2008 11:21 pm

changed on my svn ial have a new release soon
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Re: Pic Upload works but pics are not displayed

Postby TheVorhaut » Sat Jun 21, 2008 1:47 am

I changed the PHP code according to your proposals but the problem is still there. No images are visible.

By the way:
Here is the forum thread for the CMS Joomla component com_wowroster:
http://wowroster.gilden-seiten.de/index ... 33#post933
Nefuh from Germany is the author of the Joomla version of WoWRoster:
http://wowroster.gilden-seiten.de/index ... r&userID=3
TheVorhaut
WR.net Apprentice
WR.net Apprentice
 
Posts: 21
Joined: Tue Jun 05, 2007 6:46 pm

Pic Upload works but pics are not displayed

Postby Ulminia » Sat Jun 21, 2008 3:37 am

addon['dir'] dosent work.. tryed at home too has to be hard coded for images

try /components/com_wowroster/addons/RosterGallery/screenshots
and /components/com_wowroster/addons/RosterGallery/screenshots/thumbs/

Code: Select all
$imgdir = '/components/com_wowroster/addons/RosterGallery/screenshots/';
$imgdirthumb = '/components/com_wowroster/addons/RosterGallery/screenshots/thumbs/';
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Pic Upload works but pics are not displayed

Postby zanix » Sat Jun 21, 2008 3:55 am

If those are url paths, then you should use
$addon['image_path']
Look here http://www.wowroster.net/MediaWiki/Addo ... for_AddOns
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Next

Return to Roster Gallery

Who is online

Users browsing this forum: No registered users and 0 guests

cron