ABT Associates

Abt Associates is an engine for social impact, fueled by caring, curiosity and cutting-edge research that moves people from vulnerability to security. Abt works persistently to make life easier for its customers by applying new technologies and rigorous technical solutions to programs that improve lives around the globe. 

Sectors: 
Community
Technology

How to import an online image from a URL into an image field

Hi,

In a content type, I have an image field, that serves as a cover/illustration image for the nodes.
In some cases i use images found online as these cover/illustration images, the way I do it is I download the image to my computer then upload it to drupal.

So I'm looking for a way to import the image to drupal directly using the image's url instead of downloading/uploading it.
Importing an image using the URL works for inline images using IMCE, but i need it for an image field.

Any ideas ?

Thanks

mysite.com/foo <---> mysite.com/index.php/foo problem

mysite.com has been transferred from server A to server B

Server B runs web server nginx/1.20.2, PHP version 7.2.34

mysite.com runs Drupal 8.9.20

When I point the google Chrome browser (Version 105.0.5195.102) I get the home page of mysite.com properly.

When I hover over any of main navigation tabs, I can see links of type mysite.com/index.php/foo. All links work properly.

How to write this code in Drupal 8 ?

Hi Guys,

How can I write this Drupal 7 code to Drupal 8:

return theme('table', $variables);

Thanks in advance.

How to convert Drupal 7 sessions to Drupal 8 ?

Hi Guys, 

I'm converting my Drupal 7 site to Drupal 8 and in Drupal 7 I'm using sessions like this:

$_SESSION['ccs']['hpbx']['voicemails']['subscriber_id']

How can I do this in Drupal 8 ?

Please help. 

Thanks in advance. 

White screen of death after full archive config export

full archive config export in configuration synchronization is causing white screen of death.

This is a duplicate to this: https://www.drupal.org/project/drupal/issues/2986380

but none of the solutions worked for me. Anybody else get this problem too? Any other insights? I’m on drupal 8.9.20

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x