Marinus
-
Posts
17 -
Joined
-
Last visited
Community Answers
-
Marinus's post in Getting an image from a custom field was marked as the answer
Something really weird happened, I was trying out different things, also things that didn't work before, but now all of a sudden, this code works really well:
$image = $child->coverimage; $thumb = $image->size(215, 215); echo "<a href='$child->url'><img class='project_thumb_image' src='$thumb->url'><BR/> <p class='thumb_image_title'>$child->title</p></a>"; It does what I want!
But I don't know what's different?
-
Marinus's post in The admin cannot be reached in new installation was marked as the answer
Just a follow-up (sorry for necroing a thread):
I have managed to fix everything using this guide:
https://processwire.com/talk/topic/5797-setup-a-processwire-environment-on-a-fresh-macos-x-install/
At the time this thread was created, the above guide didn't exist yet.
Very happy that I don't have to use MAMP, much more elegant to use the Mac's insides
So, finally, I can run Processwire!!!
-
Marinus's post in Using uploaded images without attaching them was marked as the answer
I'm sorry I feel very dumb...
Just found out!
Don't know why I couldn't find it yesterday. I guess I've been inputting my search queries in too difficult
Here is what I did:
http://processwire.com/api/fieldtypes/images/
- Marinus