• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 449 posts ]  Go to page Previous  1 ... 21, 22, 23, 24, 25, 26, 27 ... 30  Next
Author Message
 Post subject: Re: Nieuwe module: Gallery
PostPosted: Mon Oct 11, 2010 12:35 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 3653
Location: The Netherlands
Is het gerelateerd aan de plaatjes of aan de site?

Met andere woorden, kun je de zogenaamd corrupte plaatjes wel uploaden naar een andere site?

En kun je de plaatjes die je op andere sites met Gallery hebt geupload wel uploaden op deze site?

_________________
Get nice guestbook messages from your site visitors with the brand new Gbook module.
Integrate Piwik Web Analytics in your site admin with the Piwik module.
Extend your global site settings with the Custom Global Settings module.
The Fourth Dutch CMS Made Simple Workshop on April 9 2011 was great fun! Read all about it here
Announcement: The Fifth Dutch CMS Made Simple Workshop coming up?


Top
 Profile  
 
 Post subject: Re: Nieuwe module: Gallery
PostPosted: Mon Oct 11, 2010 1:07 pm 
Offline
Power Poster
Power Poster

Joined: Mon May 11, 2009 4:35 pm
Posts: 440
Jos wrote:
kun je de zogenaamd corrupte plaatjes wel uploaden naar een andere site?


ja.

Jos wrote:
En kun je de plaatjes die je op andere sites met Gallery hebt geupload wel uploaden op deze site?


nee.

oftewel, site gerelateerd..  ;)


Top
 Profile  
 
 Post subject: Re: Nieuwe module: Gallery
PostPosted: Mon Oct 11, 2010 3:06 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Sat May 09, 2009 4:26 pm
Posts: 96
Location: Valkenswaard - Nederland
Jos wrote:

Wat je zou kunnen proberen is toch niet die targetpage parameter gebruiken, maar de {Gallery} tag in je content veld zetten, in plaats van rechtstreeks in je template.



Dat is het! Het werkt nu zoals het moet. Bedankt voor je tijd!  :) :)


Top
 Profile  
 
 Post subject: Re: Nieuwe module: Gallery
PostPosted: Mon Oct 11, 2010 3:47 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 3653
Location: The Netherlands
@Masweb: graag gedaan, mooi dat het gelukt is.

@Brentnl: De foutmelding wordt gegenereerd door function.upload.php, nadat het aanmaken van een thumbnail mislukt is. Het mislukken zit waarschijnlijk in de eerste regels van de CreateThumbnail functie:

Code:
function _CreateThumbnail($thumbname, $image, $thumbwidth, $thumbheight)
{
        $imgdata = @getimagesize($image);
        if ( $imgdata === FALSE ) return FALSE;


Je zou het apestaartje eens weg kunnen halen en kijken wat er dan naar boven komt aan foutmeldingen?

_________________
Get nice guestbook messages from your site visitors with the brand new Gbook module.
Integrate Piwik Web Analytics in your site admin with the Piwik module.
Extend your global site settings with the Custom Global Settings module.
The Fourth Dutch CMS Made Simple Workshop on April 9 2011 was great fun! Read all about it here
Announcement: The Fifth Dutch CMS Made Simple Workshop coming up?


Top
 Profile  
 
 Post subject: Re: Nieuwe module: Gallery
PostPosted: Tue Oct 12, 2010 6:57 pm 
Offline
Power Poster
Power Poster

Joined: Mon May 11, 2009 4:35 pm
Posts: 440
Jos wrote:
@Masweb: graag gedaan, mooi dat het gelukt is.

@Brentnl: De foutmelding wordt gegenereerd door function.upload.php, nadat het aanmaken van een thumbnail mislukt is. Het mislukken zit waarschijnlijk in de eerste regels van de CreateThumbnail functie:

Code:
function _CreateThumbnail($thumbname, $image, $thumbwidth, $thumbheight)
{
        $imgdata = @getimagesize($image);
        if ( $imgdata === FALSE ) return FALSE;


Je zou het apestaartje eens weg kunnen halen en kijken wat er dan naar boven komt aan foutmeldingen?


zelfde error, "file corrupt: filename.jpg" en ipv de kleine thumbnail die je altijd krijgt te zien als hij aan het uploaden is, krijg je een rood vierkant met de tekst 'error' ..  ;)


Top
 Profile  
 
 Post subject: Re: Nieuwe module: Gallery
PostPosted: Tue Oct 12, 2010 10:32 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 3653
Location: The Netherlands
ow.. geen verdere foutmeldingen dus? Ook niet in de broncode van de pagina? Misschien als je ook debug erbij aan zet in de config.php?

_________________
Get nice guestbook messages from your site visitors with the brand new Gbook module.
Integrate Piwik Web Analytics in your site admin with the Piwik module.
Extend your global site settings with the Custom Global Settings module.
The Fourth Dutch CMS Made Simple Workshop on April 9 2011 was great fun! Read all about it here
Announcement: The Fifth Dutch CMS Made Simple Workshop coming up?


Top
 Profile  
 
 Post subject: Re: Nieuwe module: Gallery
PostPosted: Wed Oct 13, 2010 9:43 am 
Offline
Power Poster
Power Poster

Joined: Mon May 11, 2009 4:35 pm
Posts: 440
Jos wrote:
ow.. geen verdere foutmeldingen dus? Ook niet in de broncode van de pagina? Misschien als je ook debug erbij aan zet in de config.php?

Ik krijg een lap tekst onder in de admin, maar nergens staat daar een verwijzing naar de bestandsnaam die ik probeerde te uploaden of een error... denk dus niet dat je hier veel aan hebt:

Code:
Debug: (1,167062) - (11662888)

(mysqli): SELECT count(news_id) FROM cms_module_news n
                   WHERE status != 'published'
                     AND (( IFNULL(end_time, '1970-01-01 01:00:01')  = '1970-01-01 01:00:01') OR (end_time > '2010-10-13 11:41:12'))

Debug: (1,167215) - (11650744)

before notifications

Debug: (1,168422) - (11651680)

after notifications

Debug: (1,16872) - (11659032)

(mysqli): SELECT version from cms_version

Debug: (1,171745) - (11716352)

(mysqli): SELECT bookmark_id, user_id, title, url FROM cms_admin_bookmarks WHERE user_id = '1' ORDER BY title

Debug: (1,179253) - (11868672)

(mysqli): SELECT g.*, gp.hideparentlink, gt.templateid, gt.template, gt.thumbwidth, gt.thumbheight, gt.resizemethod, gt.maxnumber, gt.sortitems
        FROM cms_module_gallery g
        LEFT JOIN cms_module_gallery_props gp
        ON g.fileid=gp.fileid
        LEFT JOIN cms_module_gallery_templateprops gt
        ON gp.templateid=gt.templateid
        WHERE g.fileid='28'

Debug: (1,179747) - (11869456)

(mysqli): SELECT *
        FROM cms_module_gallery_templateprops
        WHERE template='Slimbox'

Debug: (1,190213) - (11877560)

(mysqli): SELECT
                g1.*, CONCAT(g2.filepath,'/thumb_',g2.filename) AS thumb
              FROM
                cms_module_gallery g1
              LEFT JOIN
                cms_module_gallery g2
              ON
                g1.defaultfile = g2.fileid
              WHERE
                g1.filepath='Recycling'

Debug: (1,190779) - (11873808)

(mysqli): SELECT
                g1.*, CONCAT(g2.filepath,'/thumb_',g2.filename) AS thumb
              FROM
                cms_module_gallery g1
              LEFT JOIN
                cms_module_gallery g2
              ON
                g1.defaultfile = g2.fileid
              WHERE
                g1.filepath='Recycling'

Debug: (1,215939) - (12050976)

(mysqli): SELECT fd.*, fv.value
        FROM cms_module_gallery_fielddefs fd
        LEFT JOIN cms_module_gallery_fieldvals fv
        ON fd.fieldid = fv.fieldid AND fv.fileid = '28'
        WHERE fd.dirfield = 1 ORDER BY fd.sortorder ASC

Debug: (1,216448) - (12047296)

(mysqli): SELECT templateid, template FROM cms_module_gallery_templateprops ORDER BY template ASC

Debug: (1,217402) - (12054856)

(mysqli): SELECT
                g1.*, CONCAT(g2.filepath,'/thumb_',g2.filename) AS thumb
              FROM
                cms_module_gallery g1
              LEFT JOIN
                cms_module_gallery g2
              ON
                g1.defaultfile = g2.fileid
              WHERE
                g1.filename LIKE '%/'
              ORDER BY
                IF(g1.fileid=1,0,1) ASC,
                CONCAT(g1.filepath,CAST(IF(g1.filepath='','','/') AS BINARY),g1.filename) ASC


Top
 Profile  
 
 Post subject: Re: Nieuwe module: Gallery
PostPosted: Wed Oct 13, 2010 10:24 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 3653
Location: The Netherlands
Nee heb ik idd niks aan... heb je ook in de html broncode van de pagina gekeken?

_________________
Get nice guestbook messages from your site visitors with the brand new Gbook module.
Integrate Piwik Web Analytics in your site admin with the Piwik module.
Extend your global site settings with the Custom Global Settings module.
The Fourth Dutch CMS Made Simple Workshop on April 9 2011 was great fun! Read all about it here
Announcement: The Fifth Dutch CMS Made Simple Workshop coming up?


Top
 Profile  
 
 Post subject: Re: Nieuwe module: Gallery
PostPosted: Wed Oct 13, 2010 10:46 am 
Offline
Power Poster
Power Poster

Joined: Mon May 11, 2009 4:35 pm
Posts: 440
Jos wrote:
Nee heb ik idd niks aan... heb je ook in de html broncode van de pagina gekeken?

heb ik ook gekeken ja, maar zag ik niets 'raars'. heb even een login voor je aangemaakt en verstuurd per pm..


Top
 Profile  
 
 Post subject: Re: Nieuwe module: Gallery
PostPosted: Wed Oct 13, 2010 11:05 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Thu Aug 07, 2008 8:24 pm
Posts: 340
Location: Antwerp - belgium
Jos wrote:
Mr_Stevo wrote:
Is er nog een mogelijkheid om de gallery in het midden van de pagina te plaatsen??


Voeg aan de css toe:

Code:
.gallery {
margin:0 auto;
width:300px; /* vul zelf een geschikte breedte in */
}


Ik blijf hier toch mee struikelen Jos, als ik width aanpas dan zie ik geen verandering.


Top
 Profile  
 
 Post subject: Re: Nieuwe module: Gallery
PostPosted: Wed Oct 13, 2010 11:10 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 3653
Location: The Netherlands
dan is de div waar Gallery in staat niet breed genoeg

_________________
Get nice guestbook messages from your site visitors with the brand new Gbook module.
Integrate Piwik Web Analytics in your site admin with the Piwik module.
Extend your global site settings with the Custom Global Settings module.
The Fourth Dutch CMS Made Simple Workshop on April 9 2011 was great fun! Read all about it here
Announcement: The Fifth Dutch CMS Made Simple Workshop coming up?


Top
 Profile  
 
 Post subject: Re: Nieuwe module: Gallery
PostPosted: Wed Oct 13, 2010 11:37 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Thu Aug 07, 2008 8:24 pm
Posts: 340
Location: Antwerp - belgium
Jos wrote:
dan is de div waar Gallery in staat niet breed genoeg


zucht, als je dus de code in 2 verschillende stylesheet zet dan werkt dat natuurlijk niet.
Thx Jos, problem solved.


Last edited by iStevo on Wed Oct 13, 2010 11:47 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Nieuwe module: Gallery
PostPosted: Sun Oct 24, 2010 10:15 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Sat Jul 07, 2007 9:22 am
Posts: 611
Location: Almelo, The Netherlands
Ik heb de originele pagina van de Cycle-template bekeken. Leuk zo'n rotate functie.

Ik probeer dit nu toe te passen. Ik gebruik de volgende code.
Code:
{Gallery dir='oud'}


In plaats van het leuk te roteren zoals ik verwacht, gooit 'ie alles over elkaar heen  :'(
Image

Moet ik iets veranderen. (nb alles is lokaal geïnstalleerd.[maar dat zou weer nix moeten uitmaken ;)])

_________________
Lees het nu!!! Het 1e lustrum: de 5e CMSms workshop


Top
 Profile  
 
 Post subject: Re: Nieuwe module: Gallery
PostPosted: Sun Oct 24, 2010 12:18 pm 
Offline
Power Poster
Power Poster
User avatar

Joined: Wed Sep 05, 2007 8:03 pm
Posts: 3653
Location: The Netherlands
Leuke foto's  ;D

Het lijkt erop dat het javascript niet werkt.

Check je html broncode even of het basis jQuery library script meerdere keren wordt aangeroepen.

_________________
Get nice guestbook messages from your site visitors with the brand new Gbook module.
Integrate Piwik Web Analytics in your site admin with the Piwik module.
Extend your global site settings with the Custom Global Settings module.
The Fourth Dutch CMS Made Simple Workshop on April 9 2011 was great fun! Read all about it here
Announcement: The Fifth Dutch CMS Made Simple Workshop coming up?


Top
 Profile  
 
 Post subject: Re: Nieuwe module: Gallery
PostPosted: Mon Oct 25, 2010 6:44 am 
Offline
Power Poster
Power Poster
User avatar

Joined: Sat Jul 07, 2007 9:22 am
Posts: 611
Location: Almelo, The Netherlands
Jos wrote:
Leuke foto's  ;D


Tsja, dat was ik zo'n 35 jaar geleden ...  ;D

Ik heb het geheel even op mijn testsite gezet, dat geeft wel wat verandering maar niet genoeg.
Dit is de js van de pagina:
Code:
<script type="text/javascript" src="modules/Gallery/templates/cycle/jquery.cycle.lite.1.0.min.js"></script>

<script type="text/javascript">
$(document).ready(function() {
   $('#slides').cycle({
      delay:  -2000,
      timeout:  6000,
      speed: 2000
   });
});
</script>


Bekijk het hier ...

_________________
Lees het nu!!! Het 1e lustrum: de 5e CMSms workshop


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 449 posts ]  Go to page Previous  1 ... 21, 22, 23, 24, 25, 26, 27 ... 30  Next

All times are UTC


Who is online

Users browsing this forum: No registered users


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:
Jump to:  
Arvixe - A CMSMS Partner