Jump to content

2hoch11

Members
  • Content Count

    10
  • Joined

  • Last visited

Community Reputation

1 Neutral

About 2hoch11

  • Rank
    Jr. Member
  1. Thank you flydev. My question is about how to create a folder, not how to render the files.
  2. I am trying to get this site structure: … /projects/ (is rendered, is in nav menu) /projects-folder/ (not rendered, not in nav menu) /projects-folder/project1 (rendered, not in nav menu) /projects-folder/project2 (rendered, not in nav menu) /projects-folder/project3 (rendered, not in nav menu) … How can I create the "projects-folder"? Do I need a "folder" or a "blank"-template. Or is there any better solution?
  3. @kongondo So in other words resizing images should work the same way like it works in the frontend… However, now I have an external file (instead of pasting php in the backend) but there was no difference… then I added "first()" to the image and now it works as expected: $imageResized = $image->first()->size(400,400); This is pretty strange because I already have an output of this image field in the frontend and it works without "first()"…
  4. Are there known limitations in the plugin? For example i cannot resize an image. Then I wanted to get the original image but I cannot get the url. $image->url gives me just the folder where the image is but not the file-name. $image->basename gives me nothing. Textfields are working as expected. "PHP Runtime Code Mode" is set to "Paste PHP code".
  5. Thank you d'Hinnisdaël. I wanted to test the plugin but I am not shure if it is compatible with the current PW version? It installs well but i cannot see it in the (type) dropdown, when I create a new field… strange…
  6. Thank you kongondo. Now I remember I tested Image Marker last year. It could be a solution but as far as i remember the points are referencing to a (sub) page, so you need an extra page for a single headline or text that is on the image…
  7. I am wondering what input field is the best to select the position of a text-layer on an image? #1 The easiest would be a select options field as dropdown with the options: north, north-east, east, south-east, south, south-west, west, north-west, center Or a less compass like version: top, top-right, right, bottom-right, bottom, bottom-left, left, top-left, center. #2 Use the focus point of the image, so you can position the layer anywhere, but you lose the ability to really focus on something if the uploaded image has a different ratio than the rendered image in the frontend. #3 Use RuntimeMarkup (https://modules.processwire.com/modules/fieldtype-runtime-markup/) to display (and eventually even manipulate) the select element from #1. (I did not try this one) #X Ist there a more elegant way that offers more visual feedback, like 9 squares (3 columns, 3 rows) with radio buttons or something like that?
×
×
  • Create New...