Home > ee2 > Getting disc path to a Matrix File without using a tag pair

# Getting disc path to a Matrix File without using a tag pair

February 26Hits:0

I'm currently forced to do this to get a disc path that I can send to CE Image for resizing:

{exp:ce_img:single src="{product_carousel_images limit='1'}{slide_image}{rel_path}{/slide_image}{/product_carousel_images}" width="320"} 


I though there was a way to do something like

 {exp:ce_img:single src="{product_carousel_images limit='1'}{slide_image:rel_path}{/product_carousel_images}" width="320"} 


But that does not seem to work. It'd be even better if I could do something this:

{exp:ce_img:single src="{product_carousel_images:1:slide_image:rel_path}" width="320"} 


But that is a different problem.

For various reasons using remote images is not an option for us - we use a BasicAuth on all of our sites during development, and it a hit to performance to load massive images over HTTP then re-cache them, when they can easily be loaded from local disc.

Tags:matrix, ee2

## Related Articles

• ### Getting disc path to a Matrix File without using a tag pairFebruary 26

I'm currently forced to do this to get a disc path that I can send to CE Image for resizing: {exp:ce_img:single src="{product_carousel_images limit='1'}{slide_image}{rel_path}{/slide_image}{/product_carousel_images}" width="320"} I tho

• ### Golang solution to Project Euler #81 (min path through a matrix)November 24

Project Euler problem 81 asks: In the 5 by 5 matrix below, 131 673 234 103 18 201 96 342 965 150 630 803 746 422 111 537 699 497 121 956 805 732 524 37 331 the minimal path sum from the top left to the bottom right, by only moving to the right and do

• ### How to find and replace link paths in multiple Excel files at onceDecember 10

We have a huge folder containing office documents on our server. IT wants to change the name of the folder from Mehper_repository to Planning_reports. Since most of the Excel files in the subfolders are linked to each other, I need to find and replac

• ### Vim: use the path of the current fileMarch 3

In Vim, how can I capture the path of the current file? I know that the % register contains the name of the current file, but I want the path, so I can do something like :w **bar.txt ... to "Save As" a new file, with ** representing the current

• ### Including a relative path to a class fileSeptember 4

I'm trying to set the documentclass type of a certain .tex file to be a class that is in the parent folder. However, I'm not sure how to include the path to the .cls file. I can write \documentclass[letterpaper,12pt]{../foo} But that complains that t

• ### Installing python through pecl - how do I "specify path to Python distribution files"?September 25

I have found several instances where this question has been asked, but never answered. This is the part where the installation goes wrong checking for Python files in default path... not found configure: error: Please specify path to Python distribut

• ### How do I get the path of a layer file (.lyr)?February 4

In C#, how do I get the path of a layer file? I can get the datasource and name of the layer but I need to get the path to the .lyr file. I want to record the path so my extension can copy and load the .lyr file later. This gives the path to the data

• ### Unable to change data source path for group layer fileJune 1

I am having some difficulty changing the data source for a group layer. Below is the code that I am using. It processes a LYR file successfully that has a single data source but if LYR file has more than one data layer, it doesn't do it. import arcpy

• ### How to silently auto-load from a subdirectory, but allow internal paths to think the file is located at site root?July 31

I have files in my site root, and also files in its "Iternet_IE" directory. I need to: 1.) be able to call/include other files (e.g. headers or footers) from within files at either of those locations... using the same path in the include/link, e

• ### How to update folder search path for batch script file execution?September 17

The question on the homework sheet is: Update the folder search path for batch script file execution to include the "Processing" subfolder, and then display the folder search path. (Make sure you preserve the folder search path) I'm not sure wha

• ### Feeds: how to populate a 'File' field from a path/filename in csv file? November 15

I import a csv-file via Feeds-module and got stuck with the images for a node. All the other fields are importet as wanted, except the path for the image-field. The images are already uploaded to the directory below... An example for a row value of a

• ### rsync: link_stat PATH failed: No such file or directory (2)December 9

working with RSYNC on a command line project to sync my phone with my music folder based on a number of... options. Not sure why it's failing, but here goes: The command: sudo rsync -arvRn --progress --temp-dir=/home/test/ --files-from=/home/test/Scr

• ### Add a file to a different path in a zip fileApril 28

I have a file that placed in the following directory: folder_A/another_folder_A/file_to_add.xml Now, what I want to do is simply add the file to a folder in an existing zip archive. For example this is my zip content: my_zip.zip/folder_B/another_fold

• ### How to use a ~ in the path to my .bib fileJuly 20

It seems from the comments in this answer (Can I have a path argument that contains spaces?) that there is not a clear consensus on the use of ~ in the bibliography path. For me this would be very useful, since I have different home directory names a

• ### How can I view/find the file path of currently opened files in Light Table?September 16

I have a project in Light Table with files in different directories that have the same name: project/dir1/file.txt project/dir2/file.txt When I open both files, all I see are two tabs both labelled file.txt. How can I easily distinguish between the t

• ### Path problem with included file inside of a standalone fileDecember 1

How can I get the current path inside an included standalone file? 1. Theoretical Example: let's assume the following directory structure: main.tex img/ |-standalonefile.tex |-data standalonefile.tex: \documentclass{standalone} \begin{document} \some

• ### Channel Form with Matrix File Upload FieldFebruary 11

EE v2.7.3 Matrix v2.5.8 I have a Channel:Form where I need to do a ton of custom styling, so I have manually built the form markup, using exactly what is rendered out by {field:my_matrix_field}. I am not able to upload a new file or replace an existi

• ### Use basename to parse a list of paths held in a fileMarch 9

I'm running Mac OSX and trying to use the command line to find the number of files I have with the same name. I tried to use the following command: find ~ -type f -name "*" -print | basename | sort | uniq -d > duplicate_files It doesn't work!

• ### Get full path of currently open filesApril 6

I'm trying to code a simple application that must read all currently open files within a certain directory. More specificly, I want to get a list of files open anywhere inside my Documents folder, but I don't want only the processes' IDs or process n

• ### Use a label or tag system instead of a path system for Windows files April 22

Is there any way to use a label or tag system (like Gmail) instead of the path system (Explorer) that Windows 7 uses? I have files that I want to be able to find from multiple directories without using shortcuts (they tend to break easily). UPDATE I