Jump to content

reems

Members
  • Posts

    74
  • Joined

  • Last visited

Everything posted by reems

  1. There were indeed two corrupted images. The originals were almost 10 Mb. I already adviced my client that images of that size are not ideal for a website. It seems now oke. Thanks.
  2. Hi, On one page I have by now more then 80 images. Sometimes, but far too often, when I load the page in the admin, loading takes too much time and I get the following error message: This line 247 contains: imagegammacorrect($image, 2.0, 1.0); I could maybe look at the server and do something about that, but to begin with, I don't understand why ImageSizer is called everytime when loading the page in the admin and likes to be resizing everytime. The images are resized already on upload (using the CropImage field). Could anybody explain and knows how to solve this. Thanks.
  3. I checked the Cycle2 in combination with the maximage plugin. Looks perfect. I will test those coming weekend. Thanks for all your comments.
  4. My idea was not to bother you with all the problems that I had with other gallery scripts. It's a PW forum, not a JQuery forum. But, maybe, knowing that (what Joss asks) I need only a basic fullscreen background slideshow, with the possibility to: transitions and effects controls thumbnails including flexibility in placing generating the image and thumbnail list with the PW api as I already do now for the images itself Then....maybe one of you has already good experience with another script then BgndGallery. See as it is now http://www.travelinluxury.nl The controls on the left in the footer are also part of the script.
  5. I have found and tried indeed other scripts, but then they had other problems. So, my original question still stands . But, I will keep on searching....
  6. http://pupunzi.open-lab.com/mb-jquery-components/jquery-mb-bgndgallery/
  7. Hi Joss. I agree, but scripts for background slideshows are limited. And in this case images are indeed loaded using the PW api and a foreach loop. Only for the thumbnails, a directory is needed. I asked the slideshow developers if that could be changed, but it will take some time still. So in the time between I'm looking for a solution as mentioned in my post.
  8. Hi, With the CropImage Module thumbnails are created with a prefix and stored in the same directory as the original file. Instead, I would like the thumbnails be saved in a subdirectory with the same name as the original file. This because of a slideshow script I use. What is the easiest way of tweaking the module to accomplish this? Thanks, Reems
  9. Hi, I/m building for the first time a multi-language site with PW. Although, multi... it's only Dutch and German. PW is really great and I am enjoying building it. But I have now a strange issue. First, after installing multi language support, I added Dutch and German with the language packs. But because I want Dutch to be the default language I uploaded the Dutch package to the default language, changed the title and after that I removed the earlier added Dutch language, That seemed to me the right way to go. But now I have all url's for the Dutch pages with /en/ in the url. The German pages are oke with /de/ in the url. I have checked the forum and google but I can't find an explanation, let alone a solution. Maybe something anywhere in the config? Thanks.
  10. Thank you all. I will keep on learning and enjoy it Reems
  11. How stupid of me, indeed, it was still a File field instead of an Image field. Thanks Apeisa. Now it works as it should be. But, Kongondo, could you explain your solution: $image->of(true); ? I can't find it in the API and I'm curious what is does. Btw, that did not work, I got this error: "Method Pageimage::of does not exist or is not callable in this context" Thanks!
  12. Hi, I have the following php lines in a template: $top10 = $pages->find("template=hotel, top10>0,sort=-top10"); foreach($top10 as $top) { echo "<li><a href='{$top->url}'>{$top->title}</a></li>"; $image = $top->foto_upload->first(); $thumb = $image->size(100, 100); // if($image) echo "<img src='$image->url'>"; } The last (for the moment commented) line works fine and shows one image but too big. Before showing the image I want to resize it. But the line "$thumb =$image->size(100, 100);" throws the following error: Fatal error: Exception: Method Pagefile::size does not exist or is not callable in this context (in /home/travelinlu/domains/travelinluxury.nl/public_html/wire/core/Wire.php line 320) in /home/travelinlu/domains/travelinluxury.nl/public_html/index.php on line 216 Reading the forum on such errors gives me no clear solution. Most of the time the answer is, that the function is called on an image array, but in this case (after using first() ) it is clear just one image I want to resize. "foto_upload" is (afcourse) an Image field and I use PW 2.4. Anyone with a solution?? Thanks, Reems
  13. Already solved. This helped: http://processwire.com/talk/topic/225-how-to-work-with-ajax-driven-content-in-processwire/
  14. Hi, Is there a build in way in Processwire to load pages through with ajax-requests? I would like to load a homepage with header and footer included and after that only the body of the next pages. Then, only with the first load, jquery, other javascript and css has to be loaded. Thanks
  15. Solved. Thanks for the replies. It had indeed to do with css. I use the Blueprint css for templates (generated by Boks AIR) and found out that certain print style rules interfered with PW main.css. Step by step I´m learning. When I´m a little bit further I will show some results.
  16. Hello, After reading through all documentation and seeing some vidoes I just started using ProcessWire. I have tried lots of other cms's but never find this combination of ease of use and possibilities. I had now problem getting a first testsite working (using Artisteer for a design). I just used the example site that comes with the download and added new header and footer templates plus a new page template to try. But one thing is different in my just created site: Where on the already available pages there is an Edit button in the lefttop corner showing just "EDIT", on my new page it's showing "EDIT (PROCESSWIRE/PAGE/EDIT/?ID=1006)". The link is working fine, so that's no problem. In my new footer template I just copied the Edit link as it was available in the footer.inc file. How can I change that. Thanks, Reems
×
×
  • Create New...