Jump to content

Oca2

Members
  • Posts

    18
  • Joined

  • Last visited

Everything posted by Oca2

  1. It was missing the setting "thumbnail,160,160"
  2. One hundred and one % working now, Thanks ProcessWire Crew for the help & info! Oca2
  3. Yes I understand 101% now! I thought it was a core plugin... Can't wait to have the code up and running I'm on 50% updating... 50% works This works <img src='{$page->mosaic_photo_2->eq(0)->getCrop('thumbnail')->url}' alt='{$page->mosaic_photo_2->description}' /></a></div>";} This not <img src='{$child->overviewimg->eq(0)->getCrop('thumbnail')->url}' alt='$child->title'>
  4. I think it is to complicated... would be nice if this was fixed by a default update... not by hand going through source codes 2 much time and possibility's 2 break stuff.
  5. Tis is the code I use now, no errors but also no images on front-end <img src='{$page->mosaic_photo_1->eq(0)->getCrop('thumbnail')}' alt='{$page->mosaic_photo_1->description}' /></a></div>";} and <img src='{$child->overviewimg->eq(0)->getCrop('thumbnail')}' alt='$child->title'>
  6. No more errors But... I don't want to go through the update process renaming all images files... to complicated so I will manually update the images... ...But if I select new images from admin they are still not visible on the front-end???
  7. No more errors But... I don't want to go through the update process renaming all images files... to complicated so I will manually update the images... ...But if I select new images from admin they are still not visible on the front-end???
  8. Ok thanks Tracy is great
  9. Ok will follow up this time and next time avoid double post
  10. How can I find the paths mentioned in the errors below? Tracy debug did not give any error or info. Session: destinationPath is not writable (overviewimg) Session: destinationPath is not writable (images) Session: destinationPath is not writable (pdf_doc) I did changed permision on the "images" folder but no success...
  11. no simple update... will look in to your link... Thanks for the info!
  12. changing... <img src='{$child->overviewimg->eq(0)->getThumb('thumbnail')}' alt='$child->title'> to... <img src='{$child->overviewimg->eq(0)->getCrop('thumbnail')}' alt='$child->title'> did not work... ...and give error: Exception: There is no crop setting for the template 'home' called 'thumbnail' (in /domains/gemsbok.nl/DEFAULT/fresh/site/modules/CroppableImage3/FieldtypeCroppableImage3/FieldtypeCroppableImage3.module line 209) And have set the crop setting to square,160,160
  13. changing... <img src='{$child->overviewimg->eq(0)->getThumb('thumbnail')}' alt='$child->title'> to... <img src='{$child->overviewimg->eq(0)->getCrop('thumbnail')}' alt='$child->title'> did not work... ...and give error: Exception: There is no crop setting for the template 'home' called 'thumbnail' (in /domains/gemsbok.nl/DEFAULT/fresh/site/modules/CroppableImage3/FieldtypeCroppableImage3/FieldtypeCroppableImage3.module line 209) And have set the crop setting to square,160,160
  14. Updated to latest version PW and CroppableImage3 but old code from templates doesn't work anymore are there code examples to call CroppableImage3 in templates. Thanks! if($page->mosaik_title_1) { echo " <div class='three columns'> <a href='{$page->mosaik_url_1}/'> <span class='m1'>{$page->mosaik_title_1}</span> <img src='{$page->mosaic_photo_1->eq(0)->getThumb('thumbnail')}' alt='{$page->mosaic_photo_1->description}' /></a></div>";} and foreach($page->children as $child) echo " <div class='cat1 cat5'> <div class='port-item-container'> <div class='port-box'> <a rel='bookmark' title='{$child->title}' href='{$child->url}'> <img src='{$child->overviewimg->eq(0)->getThumb('thumbnail')}' alt='$child->title'> </a> </div> <div class='port-item-title'> <h6>{$child->title}</h6> <span>{$child->overviewtxt}...<a href='{$child->url}'> Lees verder »</a></span> </div> </div> </div> ";
  15. Ok... updated to 3.0.62 installed CroppableImage3 now I get the following errors... User Error Exception: Method Pageimage::getThumb does not exist or is not callable in this context (in /domains/somesite.nl/DEFAULT/fresh/wire/core/Wire.php line 519) #0 /domains/somesite.nl/DEFAULT/fresh/wire/core/Wire.php(386): ProcessWire\Wire->___callUnknown('getThumb', Array) #1 /domains/somesite.nl/DEFAULT/fresh/wire/core/WireHooks.php(698): ProcessWire\Wire->_callMethod('___callUnknown', Array) #2 /domains/somesite.nl/DEFAULT/fresh/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\Pageimage), 'callUnknown', Array) #3 /domains/somesite.nl/DEFAULT/fresh/wire/core/Wire.php(445): ProcessWire\Wire->__call('callUnknown', Array) #4 /domains/somesite.nl/DEFAULT/fresh/wire/core/Wire.php(445): ProcessWire\Pageimage->callUnknown('getThumb', Array) #5 /domains/somesite.nl/DEFAULT/fresh/site/assets/cache/FileCompiler/site/templates/home.php(16): ProcessWire\Wire->__call('getThumb', Array) #6 /domains/somesite.nl/DEFAULT/fresh/site/assets/cache/FileCompiler/site/templates/home.php(16): ProcessWire\Pageimage->getThumb('thumbnail') #7 /domains/somesite.nl/DEFAULT/fresh/wire/core/TemplateFile.php(268): require('/domains/gemsbo...') #8 /domains/somesite.nl/DEFAULT/fresh/wire/core/Wire.php(380): ProcessWire\TemplateFile->___render() #9 /domains/somesite.nl/DEFAULT/fresh/wire/core/WireHooks.php(698): ProcessWire\Wire->_callMethod('___render', Array) #10 /domains/somesite.nl/DEFAULT/fresh/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\TemplateFile), 'render', Array) #11 /domains/somesite.nl/DEFAULT/fresh/wire/modules/PageRender.module(514): ProcessWire\Wire->__call('render', Array) #12 /domains/somesite.nl/DEFAULT/fresh/wire/modules/PageRender.module(514): ProcessWire\TemplateFile->render() #13 /domains/somesite.nl/DEFAULT/fresh/wire/core/Wire.php(383): ProcessWire\PageRender->___renderPage(Object(ProcessWire\HookEvent)) #14 /domains/somesite.nl/DEFAULT/fresh/wire/core/WireHooks.php(698): ProcessWire\Wire->_callMethod('___renderPage', Array) #15 /domains/somesite.nl/DEFAULT/fresh/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\PageRender), 'renderPage', Array) #16 /domains/somesite.nl/DEFAULT/fresh/wire/core/WireHooks.php(782): ProcessWire\Wire->__call('renderPage', Array) #17 /domains/somesite.nl/DEFAULT/fresh/wire/core/WireHooks.php(782): ProcessWire\PageRender->renderPage(Object(ProcessWire\HookEvent)) #18 /domains/somesite.nl/DEFAULT/fresh/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\Page), 'render', Array) #19 /domains/somesite.nl/DEFAULT/fresh/wire/modules/Process/ProcessPageView.module(205): ProcessWire\Wire->__call('render', Array) #20 /domains/somesite.nl/DEFAULT/fresh/wire/modules/Process/ProcessPageView.module(205): ProcessWire\Page->render() #21 /domains/somesite.nl/DEFAULT/fresh/wire/core/Wire.php(383): ProcessWire\ProcessPageView->___execute(true) #22 /domains/somesite.nl/DEFAULT/fresh/wire/core/WireHooks.php(698): ProcessWire\Wire->_callMethod('___execute', Array) #23 /domains/somesite.nl/DEFAULT/fresh/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\ProcessPageView), 'execute', Array) #24 /domains/somesite.nl/DEFAULT/fresh/index.php(55): ProcessWire\Wire->__call('execute', Array) #25 /domains/somesite.nl/DEFAULT/fresh/index.php(55): ProcessWire\ProcessPageView->execute(true) #26 {main}
  16. I have PW 2.8.62 running a live website... 75% of images are hidden/gone/... Can I just upgrade to 3.0.62 to get the module CroppableImage3 to work?
  17. Thanks Adrian, I'm going to test it!
  18. Dear Processwirez, After updating to 2.8.62 some code doesn't seem to work anymore. There are no more images on the front-end. Image url's on front-end are empty. if($page->mosaik_title_1) { echo " <div class='three columns'> <a href='{$page->mosaik_url_1}/'> <span class='m1'>{$page->mosaik_title_1}</span> <img src='{$page->mosaic_photo_1->eq(0)->getThumb('thumbnail')}' alt='{$page->mosaic_photo_1->description}' /></a></div>";} and foreach($page->children as $child) echo " <div class='cat1 cat5'> <div class='port-item-container'> <div class='port-box'> <a rel='bookmark' title='{$child->title}' href='{$child->url}'> <img src='{$child->overviewimg->eq(0)->getThumb('thumbnail')}' alt='$child->title'> </a> </div> <div class='port-item-title'> <h6>{$child->title}</h6> <span>{$child->overviewtxt}...<a href='{$child->url}'> Lees verder »</a></span> </div> </div> </div> "; Both codes are from different pages and both doesn't work anymore after the upgrade.
×
×
  • Create New...