Kay
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Custom Fields: Image Crop Add-on] Getting link to original image?It’s the same array as the cropped image, only in key ‘original_image’.
// Get the image array $image = get_field('my_image'); // Retrieve URL of cropped image $cropped_url = $image['url']; // Retrieve URL of original image $original_url = $image['original_image']['url'];Forum: Plugins
In reply to: [Advanced Custom Fields: Image Crop Add-on] Getting link to original image?Faster Quick fix.
Just add this after line 474
$value['original_image'] = $this->getImageArray($data->original_image);Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Reciprocal only working one wayDear Scribu,
Awesome, thanks for your quick reply and fix.
I forked .9.2-alpha and the tabs aren’t working anymore, just wanted to let you know.I took the stable plugin and changed your last two commits locally here, now the tabs are working. Great plugin!!
Kind regards.
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] Reciprocal only working one wayThis is wat I’m doing.
1. Go to projecten overview
2. Edit a post
3. Click on the ‘view all’ in the connection box
4. Than I click on the ‘+’ to add the connection
5. I see a connection in the meta box
6. Than I hit Update/save
7. The connection is gone (or actually never sent to the db)When I check my database I only see a one way relationship i.e.
primaryId From To
1 489 909Where as when I do it the other way around (edit a post in diensten) it does this:
primaryId From To
1 489 909
2 909 489I’ve checked with other post types, nothing there..